Image Preloader -------------------------------------------------- The image preloader will preload all image files into user's cache before your page gets downloaded. This is useful if you have many image swapping on the page. If you use lots of images on your site, using a preloader is a good idea. Visitors are less likely to leave your site if they you have a image preloader that tells them how long they probably have to wait to download the page. Script is compatible with Internet Explorer 4.0+, Netscape 6.0+ and Mozilla 1.0. Features -------------------------------------------------- 1. Preload as many images as you like. 2. Progress bar with stats on the progress 3. Stats showing image loaded and total images. 4. Detects browser using object detection. 5. Automatically skips preloading if browser not compatible with script. 6. Detects broken image links, skips image automatically. 7. Lets visitors skip preloading (Optional). 8. Automatically loads page when finish (Optional). 9. Easy to set up! Only change a few lines of code! Files -------------------------------------------------- index.html The preloader, the only file you really need. ReadMe.txt This ReadMe file. done.html (Demo) Page to go to after preloading. *.gif, *.jpg (Demo) Image files to preload. Setup -------------------------------------------------- Open the index.html file and edit the following variables. ****************** STEP 1: Put all images in an array. Put as many images as you like. EXAMPLE: var pics = new Array("image1.gif", "myfolder/image2.jpg", "image3.gif); ****************** STEP 2: Enter url of page to go to after it is done. Example: var done = "mypage.html"; ****************** STEP 3: Should the program ask users if they want to go to next page after preloading? true = yes, ask the user false = no, automatically load next page Example: var doConfirm = true; ****************** STEP 4: Allow user to skip preloading? true = yes, allow them if the want to false = no, they can't skip preloading Example: var canSkip = true; Legal -------------------------------------------------- If you are going to use this script, please don't remove the copyright info. Other that that, you can use this script on any personal or non-commercial site. A link-back is appreciated, but not required. Thank you. Contact -------------------------------------------------- Email Author: l_pok@yahoo.com Author Website: http://www.poksite.cjb.net