Milonic provide full featured pull down web menus for some of the worlds largest companies
click here to see what it can do for you

Download Milonic DHTML Menu
Buy Milonic DHTML Menu

Back To Start Of Archive
Taken From The Forum: Help & Support for DHTML Menu Version 5+
Forum Topic: Click to view post
Last Updated: Saturday July 14 2012 - 06:07:13

Possible to specify separate offsets for submenus vs. main?


Poster: mfindlay
Dated: Tuesday August 24 2004 - 18:22:09 BST

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!


Poster: Andy
Dated: Tuesday August 24 2004 - 18:25:11 BST

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