-1

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!

MM PP
  • 4,050
  • 9
  • 35
  • 61
  • 1
    so what is your problem?you have already stated your answer in your question – BhavikKama Jul 15 '13 at 05:33
  • Possible duplicat [jQuery-UI toggle speed seems always the same](http://stackoverflow.com/questions/12007994/jquery-ui-toggle-speed-seems-always-the-same). – Vucko Jul 15 '13 at 05:35

3 Answers3

4

Please read documentation more carefully.

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

http://jsfiddle.net/5RWzE/

3

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

San
  • 632
  • 4
  • 13
2

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

$( "#articleleftmenu" ).toggle( {effect:"drop",duration :"slow"} );
Irfan
  • 100
  • 7