0
如何检测scrollTo插件当前是否正在滚动?像jQuery :animated
选择器。如何检测scrollTo插件目前是滚动?
if ($('.ele').is(':animated')) {
$('.ele').animate({'left':'1000px'},5000);
// .ele will only animate while it is not animating
// i prevent repeat animation
}