我想实现一个jQuery的动画回调方法的进步或台阶,jQuery的动画设置回调抛出错误
但在任何情况下,我发现了以下错误:
NS_ERROR_IN_PROGRESS: Component returned failure code: 0x804b000f (NS_ERROR_IN_PROGRESS) [nsICacheEntry.dataSize]
我搜索了很多,但无法在上下文中找到任何内容,我有点卡在这里,请提出可能导致此错误的原因?
在拨弄我尝试步骤和进步及其在那里工作,但没有能够得到它在我的代码工作,我只是希望,有一些一个面临的jQuery动画这样那样的错误?
的示例代码:
this.taskHandle.find('img').stop(true, true).animate({
//todo//
top: vtop, // this.taskHandle.outerHeight(),
//'top': 0 - $('.target.upper').height(),
width: 0,
opacity: 0
}, {
duration: 2000,
step: function(){
console.log('I am called');
}
},
$.proxy(function() {
// some css clearing method
}, {
// some further actions after animation completes
})
);
你在生产环境中使用jQuery的哪个版本? – GuyT 2014-09-30 11:48:01
根据Firefox的源代码中的错误消息和一些窥探,这是一个缓存项目的问题,尚未完成加载/正在写入。发布代码中没有任何内容表明您正在使用可能尚未加载的任何资源,因此我认为我们很难再帮助您,除非我们看到更多的代码。 – Falle1234 2014-09-30 12:32:01
这是一个iOS应用程序吗? – SnareChops 2014-10-01 04:28:19