_subOffsetTop=5 _subOffsetLeft=5

Having problems with DHTML Menu? There is usually somebody here who knows the answer.
Post Reply
User avatar
selvan777
Super Advanced
Super Advanced
Posts: 85
Joined: Tue Dec 14, 2004 12:53 am
Location: Folsom, CA
Contact:

_subOffsetTop=5 _subOffsetLeft=5

Post by selvan777 »

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
with the latest free version
Image http://lastborns.surf.to
User avatar
Ruth
 Team
 Team
Posts: 8763
Joined: Thu May 15, 2003 5:02 am
Location: Yucaipa, CA
Contact:

Re: _subOffsetTop=5 _subOffsetLeft=5

Post by Ruth »

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: Select all

top="offset=x";
left="offset=y"; 
where x and y are the number of pixels you want it to offset.

HTH :)

Ruth
User avatar
selvan777
Super Advanced
Super Advanced
Posts: 85
Joined: Tue Dec 14, 2004 12:53 am
Location: Folsom, CA
Contact:

Re: _subOffsetTop=5 _subOffsetLeft=5

Post by selvan777 »

Thanks, it works great.
with the latest free version
Image http://lastborns.surf.to
Post Reply