Jquery UI Tabs, control variable lenght spent on each tab?
- by Robin
I'm trying the following to control the speed of rotation of the tabs but with no luck, any ideas?
$('#featured').tabs({
onShow: function(event, ui) {
if(ui.index == 0)>
{
$('#featured').tabs("rotate", 2000, true);
}
else if(ui.index == 1){
$('#featured').tabs("rotate", 5000, true);
}
else if(ui.index == 2){
$('#featured').tabs("rotate", 10000, true);
}
}
});