Forum Moderators: open
I am wondering if there is something in IE8 NOT fixable.
C.prototype.loadImg = function (H) {
try {
var G = this._$items[H];
var J = f("<img class='main-img'/>");
var K = this;
J.load(function () {
if (!G.data("img")) {
K.storeImg(G, f(this))
}
H++;
if (H < K._numItems) {
K.loadImg(H)
}
}).error(function () {
H++;
if (H < K._numItems) {
K.loadImg(H)
}
});
J.attr("src", G.data("imgurl"))
} catch (I) {}
};
C.prototype.loadImg = function (H) {
try {
var G = this._$items[H];
var J = f("<img class='main-img'/>");
var K = this;
J.load(function () {
if (!G.data("img")) {
K.storeImg(G, f(this))
}
H++;
if (H < K._numItems) {
K.loadImg(H)
}
}).error(function () {
H++;
if (H < K._numItems) {
(function(Href, Kref) {
setTimeout(function (){Kref.loadImg(Href)}, 20);
})(H, K);
}
});
J.attr("src", G.data("imgurl"))
} catch (I) {}
};
loadImg
loadImg
loadImg
loadImg
...
loadImg
loadImg
loadImg
loadImg
...