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

_subOffsetTop=5 _subOffsetLeft=5


Poster: selvan777
Dated: Wednesday January 7 2009 - 9:10:14 GMT

Hi,

_subOffsetTop=5
_subOffsetLeft=5

I'm using these to offset all the sub menu's but it only affects the second, third, etc, sub menu's.
How do I apply the same offsets for the first sub menu coming off the bottom of the main menu here:

http://members.lycos.co.uk/surfto

Thanks

Re: _subOffsetTop=5 _subOffsetLeft=5


Poster: Ruth
Dated: Monday January 12 2009 - 17:07:48 GMT

Hi,

the subOffsets only work on vertical menus, that is a submenu coming off a vertical menu since normally most people who use a horizontal menu want it to open immediately below the main item. Anyway, to get the main menu subs to offset, since they are opening from the horizontal, try adding in each 1st level sub off the main horizontal menu the following data

Code:
top="offset=x";
left="offset=y";


where x and y are the number of pixels you want it to offset.

HTH :)

Ruth

Re: _subOffsetTop=5 _subOffsetLeft=5


Poster: selvan777
Dated: Monday January 12 2009 - 21:52:52 GMT

Thanks, it works great.