Reputation: 21
I'm trying to create a simple tabbed interface using the tabs plugin from the jQuery ui library. I have the tabs working fine but I need the change in height when the user clicks to a new tab to ease up or down. Something just like this but using jQuery ui tabs plugin.
So far I'm using the basic script:
$(document).ready(function() {
$("#tabs").tabs();
});
Upvotes: 2
Views: 2102
Reputation: 1064
I think you can use some effects in jquery ui, $( ".selector" ).tabs({ hide: { effect: "explode", duration: 1000 } });
Refer this, http://api.jqueryui.com/tabs/
Upvotes: 1
Reputation: 2820
try this:
$(document).ready(function() {
$("#tabs").tabs({ fx: { opacity: 'toggle', duration: 1000 } });
});
Upvotes: 1