animation query bubbling - how to handle it properly when using slideToggle?
I need an answer to the following question... I have the problem when I use slideToggle 开发者_如何学PythonI can't handle it's animation query with .stop(), i can handle it with .stop(true,true) though but it cuts my animation. I want to handle it smoothly without any plugins for example : I want it to wait till the animation finishes.
In this case you just want the first argument of .stop()
to be true
, like this:
.stop(true)
The first argument clears the queue, the second one jumps to the end, if you just want the queue cleared, leave off the last true
:)
精彩评论