change position of first submenu that appears?

Please note that official support for this menu version has now ceased. There are still plenty of users, though, and the forum is still running. Some of our long-time users may be able to help you out.
Post Reply
yanto75
Advanced
Advanced
Posts: 17
Joined: Sun Aug 17, 2003 10:48 am
Location: Sweden
Contact:

change position of first submenu that appears?

Post by yanto75 »

Hello everyone,

I recently placed the mainmenu in a layer/div that is positioned a bit down and to the right.

The problem I encounter is that when I move the mouse over the menulinks, the submenu group appears way up instead of right beneath the link.

Where do I change the param for this feature?

I know that I can change the "sub-submenu" by modifying menu_arrays.js here:

suboffset_top=10;
suboffset_left=10;

but again, that only changes the "second" submenu that appears, not the one immediately showing up when moving the mouse over the links...?

(If I weren't clear, I'd be glad to explain again :)

Can anyone help me..? :)

Kind regards,

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

Post by Hergio »

Why would you put it into a div/layer to position it when the menu comes with such functionality all ready installed. Just set the top and left values of your upper most menu and it will place your menu exactly, down to the pixel. The reason they are coming up up a bit is because the menu thinks its starting where the top most menu is located, but your taking it and putting it into a layer and shifting it and the sub menus dont know that. Try taking it out of the layer and using the top and left attributes of your menus.
Dave Hergert
Software Engineer
"Helping to make the menu better, one :?: at a time."
yanto75
Advanced
Advanced
Posts: 17
Joined: Sun Aug 17, 2003 10:48 am
Location: Sweden
Contact:

Post by yanto75 »

Hello Hergio, and thanks for your prompt reply ! :) Yes, of course, you're absolutely right.. as soon as you presented the solution I realized that I had missed the obvious ! For some reason, I was convinced that I had to put the menu in a <div> to position it, hence neglecting the "innate" abilities of the menu itself.. thanks again ! :)
Post Reply