/ Published in: Other
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
jQuery.preloadImages = function() { for(var i = 0; i<arguments[0].length; i++) { jQuery("<img>").attr("src", arguments[0][i] } } if (preloadAr.length>0) $.preloadImages(preloadAr);