/ Published in: jQuery
this can run before $(document).ready event, since it doesn't rely on any DOM.
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
$.each(["img/naboutus.png","img/nwhatwedo.png","img/ntheory.png","img/nportfolio.png","img/nclients.png","img/ncontacts.png"],function(i,url){ var img = new Image(); img.src = url; });