开发者

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 :)

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜