Hi I am working on a site where the customer would like the ui tabs to have a variable speed. This is what I have so far and am stuck as it isn't working:
var speed=1000;
$('#featured').bind('tabsshow', function(event, ui) { if (ui.panel.id == "fragment-2") { var speed=10; } });
$("#featured").tabs({fx:{opacity: "toggle", width:"toggle",duration:'fast'}}).tabs("rotate", speed, true);