暂停/恢复jquery .animate()? [英] pause/resume jquery .animate()?

查看:538
本文介绍了暂停/恢复jquery .animate()?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在使用jquery对对象进行动画处理.

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.

这可能吗?

推荐答案

此( http: //plugins.jquery.com/project/Pause-Resume-animation )插件即可解决问题.

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

这篇关于暂停/恢复jquery .animate()?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆