content01
content01

Reputation: 3225

How to animate tab content using jquery tabs()

so far I have the following:

$("ul.search-tabs").tabs("div.panes > div");

How can I make the content of each tab appears/disappear with a fadeIn/Out effect?

Thanks!!!

Upvotes: 1

Views: 2086

Answers (2)

Andreu Ramos
Andreu Ramos

Reputation: 2908

try this when initalize:

$("ul.search-tabs").tabs(fx:{opacity:'fadein'});

see the JQuery-ui doc here.

Upvotes: 0

The Alpha
The Alpha

Reputation: 146201

Try this

$( "#ul.search-tabs" ).tabs({ fx: { opacity: 'toggle' } });

Upvotes: 2

Related Questions