pause/resume jquery .animate()?

后端 未结 2 1872
萌比男神i
萌比男神i 2020-12-21 21:20

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?

2条回答
  •  庸人自扰
    2020-12-21 22:05

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

提交回复
热议问题