Do you have a question? Post it now! No Registration Necessary. Now with pictures!
- Posted on
- Victoria Clare
August 10, 2004, 12:44 pm
rate this thread
I find that my dropdowns don't drop first time in IE.
rest of the page and all included files load before the script is ready
The load order looks like:
1) page content
2) images early in code
4) images lower down in code
Although filesizes aren't too huge (40Kb including css, images and text)
the load delay of the dropdowns is long enough that on a dialup or ISDN
connection (and with an impatient turn of mind) they are noticeably 'not
working' the first time you mouse over (another mouseover, or let the
page load fully, and it works)
The external .js link is right at the top of the html file, and does not
use the 'delay' attribute.
Is it possible to tell IE to load the external js before the images? Or
should I get a life and just bung the js back into the page?
Am I on the wrong track altogether ?
Re: Suckerfish & .js delay with IE - preload external .js?
How long does the page take to load? I would stick to having an external
If anything I'd be looking at the sizes of the images to see how they
are slowing down the page loading. I read somewhere about a trick with
preloading images on the home page. The idea is to put them way down on
the page, size them in the html down to 1px by 1px (so they are only a
dot). That way when the page loads the image is cached in the client
computer and when the page with the "full size" version of the picture
is loaded it doesn't take too long to load because it's already been
cached. I haven't tried it myself so I don't know how well it works. I
think it might have been a technique described by "Robin Williams"
author of books like "The Non-Designer's Web Book".
Have a good day
Victoria Clare wrote: