View Full Version : Image Preloader II
cr3ative
10-06-2004, 04:25 PM
Hello all,
Script : Image Preloader II (http://www.dynamicdrive.com/dynamicindex4/preloadimage2.htm)
Attached is my problematic code; it works perfectly in FireFox, it loads all the images. Unfortunately I cannot see why it does not work in Internet Explorer. Any ideas?
Thanks in advance,
cr3ative
ddadmin
10-06-2004, 06:30 PM
Have you tried specifying absolute URLs to the images to preload within the script? I don't see any run time errors, which means the problem most likely is IE simply not recongizing the image path you're using. So instead of:
/content/images/navbg_dn.gif
for example, you can try:
http://mysite.com/content/images/navbg_dn.gif
cr3ative
10-07-2004, 01:02 PM
Yes, this was tried, but then even FireFox refused to know about it.
It seems strange, and as it's more graphically pleasing than Image Preloader I, i'd like to try and solve it. :)
Cheers
cr3ative
ddadmin
10-07-2004, 07:39 PM
Hmm do you have a URL of the problem? Looking at your zip file, I can't see why it wouldn't work...
cr3ative
10-08-2004, 12:59 PM
Ah, all sorted now. It seems Internet Explorer doesn't like having too many filenames on my system. I've put all the images on the page now with width=0 height=0 and an onload=location.url statement. Simple but effective.
Thanks anyway
cr3ative
Powered by vBulletin® Version 4.2.2 Copyright © 2021 vBulletin Solutions, Inc. All rights reserved.