OffsetTop is not working

Having problems with DHTML Menu? There is usually somebody here who knows the answer.
Post Reply
selvakumar
Beginner
Beginner
Posts: 1
Joined: Fri Feb 16, 2007 5:46 am

OffsetTop is not working

Post by selvakumar »

I have used javascript dropdwon menu, which is 20px height the submenu position needs to start 18px from the mainmenu height.

For that i tried submenu _offsetTop=-2 which is not aligning.


Plz, can anyone give me the solution for this issue?.

Thanks in advance,
Selvakumar.D
User avatar
Ruth
 Team
 Team
Posts: 8763
Joined: Thu May 15, 2003 5:02 am
Location: Yucaipa, CA
Contact:

Post by Ruth »

I have to think that you are using a horizontal main menu. The subOffsets do not work with those, you must code top="offset=whatever pixels"; in the submenus themselves.

If you are not using a horizontal then please provide a url so we can test what's going on.

Ruth
Post Reply