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.
精彩评论