Click to See Complete Forum and Search --> : My javascript pulldown menu loads very slow,


dante00
06-09-2004, 03:53 AM
Hy

My javascript pulldown menu loads very slow, what script should i add to make it load faster?
Please HEELP!!!
Thank in advance

Vladdy
06-09-2004, 08:30 AM
Don't use javascript for generating navigation.

neil9999
06-09-2004, 12:07 PM
Vladdy, that link you've posted before, to a CSS menu relies on javascript for IE.

Neil

Vladdy
06-09-2004, 12:54 PM
Not to create it.

neil9999
06-09-2004, 01:53 PM
What do you mean - create it? dante00's code is a menu - not a menu-generator.

Neil

Vladdy
06-09-2004, 02:05 PM
He uses JS to generate navigation - big mistake. If you turn JS off you end up with nothing.

neil9999
06-09-2004, 02:09 PM
In the past, you have linked to this:

http://www.vladdy.net/Demos/CSSNav.html

When using IE it uses javascript by refering to that IE fixes file.

dante00, your menu seems to work fine in Netscape 7.1 (without titles for the first layer of navigation), but not IE6.0

Neil

Vladdy
06-09-2004, 02:15 PM
Yes, to provide the hover functionality. When there is no JS in IE, the root level menu is still accessible.
In one of the posts I also discussed how to make the complete list accessible in IE with no JS by providing the default style that shows the complete list and using body onload event to change the classes for hover effect.