views:

98

answers:

2

Hi all,

The following code rotates through tabs that I've set and does a nice job of fading in and out, however, I was wondering if it could be tweaked to have the content slide in and out.

$("#product_rotator").tabs({fx:{opacity: "toggle"}}).tabs("rotate", 7000);

I tried changing "toggle" to "slideToggle" but that didn't work...

Thanks in advance!

+1  A: 

Use the following fx option.

$("#tabs").tabs({
  collapsible: true,
  fx: {
    height: 'show', opacity: 'show'
    }
});
Vinodh Ramasubramanian
A: 

Thanks Vindoh, I also tried the following solution and it worked

$("#product_rotator").tabs({fx:{width: "toggle"}}).tabs("rotate", 7000);
st4ck0v3rfl0w