Firefox Menus - Wrong Location on First Mouseover

Having problems with DHTML Menu? There is usually somebody here who knows the answer.
Post Reply
User avatar
Cloud
Advanced
Advanced
Posts: 14
Joined: Fri Oct 31, 2003 1:58 pm

Firefox Menus - Wrong Location on First Mouseover

Post by Cloud »

Hi folks -

Just renewed my license today - having this problem with Firefox, on the first mouseover, the submenus nearest the right hand side appear in the wrong location, on the second mouseover they appear okay.

http://www.boards.ie/vbulletin/index.php?styleid=17

Try submenus over to the right hand side...

Also, the menu width was way too big in Firefox until I added a scroll=overflow which fixed it for some unknown reason.

I am using itemwidth to make submenus 150 pixels wide, and have offsets of 0.

Any ideas?

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

Post by John »

Please see my reply in http://milonic.com/forum/viewtopic.php?t=4103.

As always, comments are welcome.
John
User avatar
Cloud
Advanced
Advanced
Posts: 14
Joined: Fri Oct 31, 2003 1:58 pm

Post by Cloud »

Okay, but I'm getting the exact same problem in Mozilla 1.6 as well - that's not a preview version...
User avatar
John
 Team
 Team
Posts: 5967
Joined: Sun May 19, 2002 8:23 pm
Location: Phoenix, AZ
Contact:

Post by John »

Cloud wrote:Okay, but I'm getting the exact same problem in Mozilla 1.6 as well - that's not a preview version...
Ah HA :!: An after-the-moderator-comment sneak-a-bug :!: :D

One of the folks with Mozilla will take a look ASAP.
John
Jamie
Beginner
Beginner
Posts: 1
Joined: Tue May 04, 2004 3:58 pm

Post by Jamie »

I'm having the same problem in Mozilla and Netscape and Opera(occasionally).

http://www.jamiefergusson.co.uk/demos/xp

On the first mouseover of the start button the menu is displayed in the bottom left corner and not above the start button, occasionally it was mis-aligned in IE that seems to have been fixed by moving the scripts to within the body tags.

Jamie
User avatar
Cloud
Advanced
Advanced
Posts: 14
Joined: Fri Oct 31, 2003 1:58 pm

Post by Cloud »

Hup ;)
User avatar
Ruth
 Team
 Team
Posts: 8763
Joined: Thu May 15, 2003 5:02 am
Location: Yucaipa, CA
Contact:

Post by Ruth »

Some of the problem for displaying above the start button image is you have

Code: Select all

screenposition="bottom;left";
top=0;
left=0;
If you remove the top and left that anomaly stops.

Ruth
User avatar
kevin3442
Milonic God
Milonic God
Posts: 2460
Joined: Sat Sep 07, 2002 12:09 am
Location: Lincoln, NE
Contact:

Post by kevin3442 »

Hi Cloud,

Your submenus are doing that because you've got the menu scripts inside of a <center>ed block of content in the body (there's a <center> tag right after the <body> tag, and the menu scripts are between it and its closing </center> tag). Why all of the subs don't center?... beats me!

You'll want to move all of the menu scripts outside of the <center>ed content (yours could probably go in the <head> just fine). Another problem you'll run after you do that is that you have position="relative" in your Main Menu. I'd suggest getting rid of that and setting the position of the menu using the top and left properties, or the sceenposition property, or some combination (e.g. screenposition="center";top=100;).

Hope that helps,

Kevin
User avatar
kevin3442
Milonic God
Milonic God
Posts: 2460
Joined: Sat Sep 07, 2002 12:09 am
Location: Lincoln, NE
Contact:

Post by kevin3442 »

Jamie,

You could also try putting

Code: Select all

openstyle="up";
in your Main Menu definition.

Kevin
User avatar
Cloud
Advanced
Advanced
Posts: 14
Joined: Fri Oct 31, 2003 1:58 pm

Post by Cloud »

Thanks Kevin - I'll give that a go!

Edit: Kevin - you're a star - looking good in Mozilla.
Post Reply