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:45
Changing sub menu vertical offset
Poster: dav
Dated: Saturday December 30 2006 - 0:08:13 GMT
Hello,
How can I changed the offset of the sub menu's using the main menu as their starting point? I have tried "top=10;", "_subOffsetTop=10;" and "offset=10;".
"top=10" uses the top of the browser window to start the offset, not what I am after. _subOffsetTop didn't appear to do anything and "offset=10" was a last ditch attempt which I knew wasn't going to work.
My menu is styled using CSS.
http://gonegothic.com/_test/milonic/index.htm
Please help.
Thanks.
Poster: dav
Dated: Saturday December 30 2006 - 2:19:25 GMT
Oh another thing. Why can I not get sub image to work? I tried using an arrow image for the menus with drop downs but nothing I do seems to work. I add a valid URL to "subimage" but it never works.
Any ideas?
Poster: Ruth
Dated: Saturday December 30 2006 - 2:21:07 GMT
Hi,
The subOffsetTop and Left only work with vertical menus, since normally one wants the offset from a horizontal menu to be at the bottom of the parent item. So, the menu system has another way to do it for first level subs from a horizontal menu. You do it in each menu using top= and left= with the 'offset=x'; i.e.
top="offset=10"; left="offset=10";
negative numbers can be used with this.
You can also use this type of setup to fine tune positioning for a main menu, however not with one that is relatively positioned since that is the position. Let's say you have a main menu set to screenposition="center"; but what you really need is for it to be just a little bit more to the left you'd set up the main menu as screenposition="center"; left="offset=-50"; which will shift it 50 px to the left.
Hope this helps.
Ruth