Possible to specify separate offsets for submenus vs. main?

Having problems with DHTML Menu? There is usually somebody here who knows the answer.
Post Reply
mfindlay
Super Advanced
Super Advanced
Posts: 38
Joined: Mon Jun 28, 2004 5:00 pm

Possible to specify separate offsets for submenus vs. main?

Post by mfindlay »

Using Milonic 5.42 registered.

Is there a way to specify a different top and left offsets for a submenu than for the main popup menu?

It appears the parameters _subOffsetTop and _subOffsetLeft are global to all menus?

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

Post by Andy »

Hi,

You can adjust the position of sub menus by declaring offsets.

These go inside the menu definition, like this.

with(milonic=new menuname("Sub Menu")){
style=menuStyle;
top="offset=-10";
left="offset=20";
}

-- Andy
Post Reply