开发者

jQuery Asynchronous Image Loader Woes

Using jQuery JAIL (jQuery Asynchronous Image Loader) in my s开发者_JS百科ite, I've followed all the instructions correctly but for some reason, the images always load first before the plugin takes place... I have it set up so that the images should fadeIn after a 1000ms delay but the images load completely, quickly black out and then fade in. any ideas anyone? lazyload has apparently become obsolete so I need to make this work. Thanks


It sounds like you have used the URL for the image in the src attribute, you need to use a small place holder image for the src attribute and the data-href attribute for the real image URL.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜