这个问题只出现在joomla中 -
我试图在我的joomla网站上使用contentflow插件
这是插件网站 - http://www.jacksasylum.eu/ContentFlow/
这是我的网站 - http://2-dweb.com/RND/
你可以看到它不起作用 - 它只是永远停留在加载阶段
经过仔细检查,我可以看到此代码存在问题:
if (this.content.nodeName == "IMG") {
CFobj._imagesToLoad++;
var foobar = function () {
CFobj._imagesToLoad--;
this.image = this.content;
this.setImageFormat(this.image);
if ( CFobj.conf.reflectionHeight > 0) {
this.addReflection();
}
this.initClick();
CFobj._addItemCueProcess(true);
}.bind(this);
if (this.content.complete && this.content.width > 0)
window.setTimeout(foobar, 100);
else if (this.Browser.IE && !this.content.onload) {
var self = this;
var t = window.setInterval( function () {
if (self.content.complete && self.content.width > 0) {
window.clearInterval(t);
foobar();
}
}, 10);
}
else …Run Code Online (Sandbox Code Playgroud)