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
Ringkasan 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.
Kode Sumber
<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
Komentar Asli (3)
Dipulihkan dari Wayback Machine