Question

How can I set slow speed in a JQuery UI toggle effect?

I'm using "drop" effect:

$( "#articleleftmenu" ).toggle( "drop" );

How can I slow toggle("drop") ?

I think that is something like this: $( "#articleleftmenu" ).toggle( "drop", { "slow" } );

Thanks in advance!

Was it helpful?

Solution

Please read documentation more carefully.

$( "#articleleftmenu" ).toggle("drop", 1000);

http://jsfiddle.net/5RWzE/

OTHER TIPS

Try this toggle(2000,'easing-function');

you have to pass the object with spefic config llike this :

$( "#articleleftmenu" ).toggle( {effect:"drop",duration :"slow"} );
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top