Saturday, 23 June 2012

Javascript Image Preload

jQuery(document).ready(function() {
jQuery('img').each(function(){
var imageObj = new Image();
imageObj.src = this.src;
});
});

No comments:

Post a Comment