Add Different EFFECT instead of OPACITY

Hi

this is my slider code


<script type="text/javascript">
	$(document).ready(function(){
		$("#featured > ul").tabs({fx:{opacity: "toggle"}}).tabs("rotate", 5000, true);
	});
</script>

Can i replace OPACITY with any other effect like zoom or blindz etc ?

vineet

The tabs code shows the following for fx:

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.


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.


var hideTab = hideFx
	? function( clicked, $hide ) {
		$hide.animate( hideFx, hideFx.duration || "normal", function() {
			...
		});
	}