IE 6 Error During Page Load If Hovering Over Menu

Having problems with DHTML Menu? There is usually somebody here who knows the answer.
Post Reply
tomcraig
Advanced
Advanced
Posts: 12
Joined: Fri Jan 05, 2007 7:24 pm

IE 6 Error During Page Load If Hovering Over Menu

Post by tomcraig »

I'm getting errors that stop the page load if you're hovering over the menu while the page is loading in IE 6, but not in FireFox.

Version 5.767

Problem site (larger menu?):
http://208.112.83.147/demo2

It's only occurring when using buildAfterLoad=true;. If I remove that statement, it's fine.

Anyone see this?

Thanks.
Last edited by tomcraig on Mon Feb 05, 2007 6:06 am, edited 1 time in total.
User avatar
Andy
Milonic
Milonic
Posts: 3308
Joined: Sun May 19, 2002 8:23 pm
Location: Menu Developer
Contact:

Post by Andy »

I've just replied to this message in Tech Support.

It's due to the flashobject.js script that you are using. Something in there is causing the problem.

Cheers,
Andy
tomcraig
Advanced
Advanced
Posts: 12
Joined: Fri Jan 05, 2007 7:24 pm

Post by tomcraig »

Pages without flashobject.js will produce the same crash, such as:

http://208.112.83.147/demo2/content.cfm?id=328
Last edited by tomcraig on Mon Feb 05, 2007 6:07 am, edited 1 time in total.
User avatar
Andy
Milonic
Milonic
Posts: 3308
Joined: Sun May 19, 2002 8:23 pm
Location: Menu Developer
Contact:

Post by Andy »

Can you please remove all other JavaScript from the page and then see if it still does it.

If it works, add each script back until it does it again, then we'll know where the culprit is. The menu has been tested intensively and this doesn't happen on any other the sites the menu is used on.
User avatar
Andy
Milonic
Milonic
Posts: 3308
Joined: Sun May 19, 2002 8:23 pm
Location: Menu Developer
Contact:

Post by Andy »

Looks like there might be a problem with buildAfterLoad.

You can get around this by removing the buildAfterLoad property but ensuring that you add a drawMenus(); command to the bottom of your menu_data.js file - This will commit the menus correctly thus not needing buildAfterLoad which SHOULD be waiting until the page has been completed until actually building the menus.

Cheers,
Andy
tomcraig
Advanced
Advanced
Posts: 12
Joined: Fri Jan 05, 2007 7:24 pm

Post by tomcraig »

It was conflicting with two separate scripts and only worked after both were removed. But, instead, I'll put the scripts I need back in there and remove the buildAfterLoad=true statement and position the menu another way. That works too.
Post Reply