Return to Snippet

Revision: 3738
at September 9, 2007 10:52 by fael


Initial Code
var images = new Array();

function preloadImages(){
    for (i=0; i < preloadImages.arguments.length; i++){
         images[i] = new Image();
        images[i].src = preloadImages.arguments[i];
    }
}

preloadImages("logo.jpg", "main_bg.jpg", "body_bg.jpg", "header_bg.jpg");

Initial URL

                                

Initial Description
Another image preloader.

Initial Title
Images preloader

Initial Tags
image

Initial Language
JavaScript