1 2 // Image Preloader v1.0.1 3 // documentation: http://www.dithered.com/javascript/image_preloader/index.html 4 // license: http://creativecommons.org/licenses/by/1.0/ 5 // code by Chris Nott (chris[at]dithered[dot]com) 6 7 8 function preloadImages() { 9 if (document.images) { 10 for (var i = 0; i < preloadImages.arguments.length; i++) { 11 (new Image()).src = preloadImages.arguments[i]; 12 } 13 } 14 }
You need to create an account or log in to post comments to this site.