使用jQuery动画完成调用动画功能不会停止动画

时间:2012-07-16 22:21:47

标签: javascript jquery animation jquery-animate

非常简单我确定但是我有一个完成的循环我只是自称:

startAnimatingLoad:function (speed) {
    wyrAjax.orLoading.show().animate({  borderSpacing:-360 }, {
        step:function (now, fx) {
         //animate something
        },
        duration:speed
        ,complete:wyrAjax.animateItem.startAnimatingLoad
    }, 'linear');

},

我试图用这个来阻止它:

stopHideLoader:function () {
    wyrAjax.allOr.removeAttr('style').stop(true,true).hide();
}

对于我的生活,我无法理解为什么停止不工作。我正在清理队列。

0 个答案:

没有答案
相关问题