Shilohcity
Technical User
Hi there
I have a site which uses a drop down menu populated by images and roll over images. I preload the roll over images on every page and was wondering if anybody knew of any performance issues with this. Here is the code I use:
picNames = new Array( newArray defined here.)
loadPics = new Array()
for(i=0; i < picNames.length; i++) {
loadPics = new Image;
loadPics.src = picNames;
}
Does the browser load from the cache or the server? I havent picked upa any major issues but I am just testing at present.
All replies and comments appreciated.
Justin. X-) "Creativity is the ability to introduce order into the randomness of nature." Eric Hoffer
Visit me at
I have a site which uses a drop down menu populated by images and roll over images. I preload the roll over images on every page and was wondering if anybody knew of any performance issues with this. Here is the code I use:
picNames = new Array( newArray defined here.)
loadPics = new Array()
for(i=0; i < picNames.length; i++) {
loadPics = new Image;
loadPics.src = picNames;
}
Does the browser load from the cache or the server? I havent picked upa any major issues but I am just testing at present.
All replies and comments appreciated.
Justin. X-) "Creativity is the ability to introduce order into the randomness of nature." Eric Hoffer
Visit me at