V
Victoria Clare
Using the revised suckerfish dropdown javascript from
http://www.htmldog.com/articles/suckerfish/dropdowns/
I find that my dropdowns don't drop first time in IE.
This seems to be because I moved the javascript to an external file. The
rest of the page and all included files load before the script is ready
to play.
The load order looks like:
1) page content
2) images early in code
3) css
4) images lower down in code
5) and only when everything else is done - external javascript
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 ?
Victoria
http://www.htmldog.com/articles/suckerfish/dropdowns/
I find that my dropdowns don't drop first time in IE.
This seems to be because I moved the javascript to an external file. The
rest of the page and all included files load before the script is ready
to play.
The load order looks like:
1) page content
2) images early in code
3) css
4) images lower down in code
5) and only when everything else is done - external javascript
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 ?
Victoria