Preloading Images (Rated 4)Description:
This funtion demonstrates how to preload images. You can use it to delay a page displaying until all the images are loaded. Code starts here
function preload()
{
image1 = new Image();
image1.src = "/images/images.gif";
}
Last Edited: June 25, 2003, 9:18 pm
Submitted by Devscripts on 25-06-2003 21:18 |