Image Preloader II
Script : Image Preloader II
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,
Last edited by cr3ative; 10-06-2004 at 05:02 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:
for example, you can try:
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.
Hmm do you have a URL of the problem? Looking at your zip file, I can't see why it wouldn't work...
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.