Results 1 to 5 of 5

Thread: Image Preloader II

  1. #1
    Join Date
    Aug 2004
    Location
    Brighton
    Posts
    1,563
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Image Preloader II

    Hello all,

    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,
    cr3ative
    Last edited by cr3ative; 10-06-2004 at 05:02 PM. Reason: 42
    A retired member, drop me a line through my site if you'd like to find me!
    cr3ative media | read the stickies

  2. #2
    Join Date
    Aug 2004
    Posts
    10,143
    Thanks
    3
    Thanked 1,008 Times in 993 Posts
    Blog Entries
    16

    Default

    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

  3. #3
    Join Date
    Aug 2004
    Location
    Brighton
    Posts
    1,563
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    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
    A retired member, drop me a line through my site if you'd like to find me!
    cr3ative media | read the stickies

  4. #4
    Join Date
    Aug 2004
    Posts
    10,143
    Thanks
    3
    Thanked 1,008 Times in 993 Posts
    Blog Entries
    16

    Default

    Hmm do you have a URL of the problem? Looking at your zip file, I can't see why it wouldn't work...

  5. #5
    Join Date
    Aug 2004
    Location
    Brighton
    Posts
    1,563
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    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
    A retired member, drop me a line through my site if you'd like to find me!
    cr3ative media | read the stickies

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •