Anyone ever used the tabs (jquery-ui-1.8.9
) and pie charts from Highcharts 2.1.4
together? To put it simply, I have multiple tabs, where each tab s
jQuery UI 1.9+ changed the way tabs are hidden, you should set your own classes when activating tabs this way:
$('#tabs').tabs({
beforeActivate: function (event, ui) {
$(ui.oldPanel).addClass('ui-tabs-hide');
$(ui.newPanel).removeClass('ui-tabs-hide');
}
});
combined with the following CSS:
.ui-tabs-hide {
display: block !important;
height: 0!important;
width: 0!important;
border:none!important;
}
This will also fix any Flash embedded object not loading properly in hidden tabs.