pause/resume jquery .animate()?

喜夏-厌秋 提交于 2019-12-18 09:25:58

问题


I am using jquery to animate an object.

I am looking for a way to pause the animation on mouseover, and resume it after the mouse has left.

Is this possible?


回答1:


This (http://plugins.jquery.com/project/Pause-Resume-animation) plug-in will do the trick.




回答2:


This Pause plugin is smoother, and works natively with the standard jQuery animate() method



来源:https://stackoverflow.com/questions/3970835/pause-resume-jquery-animate

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!