-
No no no. Leave the array bits as they are. In the <head> of your document, without changing anything else, add
Code:
<script type="text/javascript" src="getpics2.php?preload"></script>
<script type="text/javascript" src="getpics3.php?preload"></script>
-
That's it! Thanks!
http://www.protestantlawyersny.org/test.htm
It works very well now, though takes a while to load with all the images. I realize that since both getpics2.php and getpics3.php point to the same directory of images (Graphics/2006_Installation/Thumbnails/) that I am reloading the same images twice (although I could also use the second array to load a whole new folder of images as well)
What if I placed these two lines into one of these preload splash pages so that, by the time it redirects to the home page, everything is loaded?
Nelson
-
If they both point to the same directory, you can get away with only putting one of them in.
Yep, you can put them wherever you like.
-
If I understand correctly, the script you wrote can be used to load an entire directory notwithstanding its use in connection with the ultimate fading slideshow script. Thus, I can use it in a preload page to load all the images for the site so that the site will run much more smoothly, which is wonderful!
Thanks again for all your help!
Nelson
-