
Originally Posted by
vinpkl
Can i replace OPACITY with any other effect like zoom or blindz etc ?
The tabs code shows the following for fx:
Code:
fx: null, // e.g. { height: 'toggle', opacity: 'toggle', duration: 200 }
The fx can either be an array with hide effect and show effect, or a object.
Code:
if ( o.fx ) {
if ( $.isArray( o.fx ) ) {
hideFx = o.fx[ 0 ];
showFx = o.fx[ 1 ];
} else {
hideFx = showFx = o.fx;
}
}
And the effect can be anything that can be animated by jquery.
Code:
var hideTab = hideFx
? function( clicked, $hide ) {
$hide.animate( hideFx, hideFx.duration || "normal", function() {
...
});
}
Bookmarks