My horizontal menu flashes then hangs on load

Having problems with DHTML Menu? There is usually somebody here who knows the answer.
Post Reply
mpicton
Advanced
Advanced
Posts: 11
Joined: Fri Jan 09, 2004 9:33 pm
Location: UK

My horizontal menu flashes then hangs on load

Post by mpicton »

When my site is loading the top horizontal menu appears first. Should the mouse curser be over a menu option, the menu will blink a few times and then become in-active. I just get the horizontal menu with no drop downs.
Everything works ok if the mouse is not over the menu when loading.


Anybody any ideas ?
User avatar
John
 Team
 Team
Posts: 5967
Joined: Sun May 19, 2002 8:23 pm
Location: Phoenix, AZ
Contact:

Post by John »

A URL, as requested, would really help us.
John
mpicton
Advanced
Advanced
Posts: 11
Joined: Fri Jan 09, 2004 9:33 pm
Location: UK

Sorry, here is the url.

Post by mpicton »

http://193.133.12.195/databases/webdata ... n?openform


If you load the page first, position your mouse over a menu item and then hit F5 to refresh you should see the problem.



Many thanks
User avatar
Andy
Milonic
Milonic
Posts: 3308
Joined: Sun May 19, 2002 8:23 pm
Location: Menu Developer
Contact:

Post by Andy »

You've got the menu embedded inside a form, that will cause all sorts of problems.

If you move it up within your HTML (out of the FORM, just after BODY) it should then work OK.

Cheers
Andy
User avatar
John
 Team
 Team
Posts: 5967
Joined: Sun May 19, 2002 8:23 pm
Location: Phoenix, AZ
Contact:

Post by John »

Under OS X 10.3.2/Safari I am not seeing the problem you describe at all. However, what I do see is very sluggish operation of your menu. I suspect it's because of the 2 scrollers you have going on the page. As a test (for your problem as well), try taking both of them out and see what happens.
John
User avatar
Maz
Milonic God
Milonic God
Posts: 1717
Joined: Fri Jun 06, 2003 11:39 pm
Location: San Francisco
Contact:

Post by Maz »

What browser are you using?

Regards,
maz
mpicton
Advanced
Advanced
Posts: 11
Joined: Fri Jan 09, 2004 9:33 pm
Location: UK

Post by mpicton »

I have tried moving the menu java to many locations including just out of the form and into the body. A good thought, but unfortunatlly it did not make any difference at all. Why if my site is sluggish would that make a difference to the menu ?



Thanks
mpicton
Advanced
Advanced
Posts: 11
Joined: Fri Jan 09, 2004 9:33 pm
Location: UK

Post by mpicton »

My browser is Internet Explorer 6.0.2800.
mpicton
Advanced
Advanced
Posts: 11
Joined: Fri Jan 09, 2004 9:33 pm
Location: UK

Post by mpicton »

ok, i've tried taking both tickers off the page and moving the menu java, but still it won't work.


This is doin my head in.

I appriciate all your suggestions though.

Thanks
User avatar
Hergio
Milonic God
Milonic God
Posts: 1123
Joined: Wed Jun 12, 2002 7:46 pm
Location: Rochester, NY

Post by Hergio »

Not sure if this would effect anyting you but you have TWO BODY tags in your page. You start a body tag, open a form tag, put the menu code in there and then you start another body tag. Clear that up and definitely remove the menu code completely from within the form tags for good as per Andy's suggestion. See if that does anything?

And on a side, why do you have a form in the page anyways? Besides a hidden field, I see no reason to have it. Nothing a href with a querystring couldnt handle. Just curious...hehe.
Dave Hergert
Software Engineer
"Helping to make the menu better, one :?: at a time."
mpicton
Advanced
Advanced
Posts: 11
Joined: Fri Jan 09, 2004 9:33 pm
Location: UK

Post by mpicton »

Ok, i have now removed the extra body tag,and placed the menu firmly in the 1 extisting tag. This still makes no difference.
BTW. I am using the Lotus Notes clients to create this page therefore have not as much control of script positioning as i would like so i have now been manually editing the html file with your suggestions.

Thanks for all your help guy's
User avatar
John
 Team
 Team
Posts: 5967
Joined: Sun May 19, 2002 8:23 pm
Location: Phoenix, AZ
Contact:

Post by John »

Tried to take another look, but I can't get the page to open at all. It just won't load.
John
Post Reply