Advertisement
Java_Volume1 Controls/ Forms/ Graphics/ Menus #99245

Image Preloader

An Image Preloader preloads images to a web-page viewers hard drive before they need the picture. In other words, no more waitng for those darned mouseovers! Please Rate My Work!!!!

AI

एआई सारांश: This codebase represents a historical implementation of the logic described in the metadata. Our preservation engine analyzes the structure to provide context for modern developers.

सोर्स कोड
original-source
<html>
<script language="javascript">
function doPreload()
{
	// you chg all the images in this array to the ones you want to preload
	var the_images = new Array('image1.gif','image2.gif','image3.gif');
	preloadImages(the_images);
}
function preloadImages(the_images_array) {
	for(loop = 0; loop < the_images_array.length; loop++)
	{
  		var an_image = new Image();
		an_image.src = the_images_array[loop];
	}
}
</script>
<body onLoad="doPreload();">
put your mouseovers here
</body>
</html>
Upload
मूल टिप्पणियाँ (3)
Wayback Machine से पुनर्प्राप्त