Jquery UI Tabs, control variable lenght spent on each tab?

Posted by Robin on Stack Overflow See other posts from Stack Overflow or by Robin
Published on 2010-04-21T09:43:04Z Indexed on 2010/04/21 9:43 UTC
Read the original article Hit count: 212

Filed under:
|
|
|
|

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);

  }
}
});

© Stack Overflow or respective owner

Related posts about tabs

Related posts about jQuery