【发布时间】:2013-03-06 10:37:59
【问题描述】:
我正在使用这个插件http://code.google.com/p/jqueryrotate/
var angle = 0;
setInterval(function(){
angle+=3;
$("#img").rotate(angle);
},50)
我想在单击#img 时停止旋转,但这不起作用。
$("#img").stopRotate();
有没有办法停止 setInterval?
【问题讨论】:
标签: jquery