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:50

Menu in Table Problem


Poster: jshepherd
Dated: Tuesday October 24 2006 - 10:57:39 BST

I’ve created a menu within a table and all seems to work well apart from the

_subOffsetTop=0 // Sub menu top offset
_subOffsetLeft=5 // Sub menu left offset

commands now seem to have no effect. The submenu does appear under the menu but is offset by 1 or 2 pixels and I seem to have no control to change it.


Poster: kevin3442
Dated: Sunday October 29 2006 - 5:48:03 GMT

The _subOffsetTop and _subOffsetLeft global properties do not normally apply to submenus opened from a horizontal main menu (which is what I assume you're doing, given the behavior you're reporting).

If you want to offset the position of a submenu that opens from a horizontal parent menu, then you can apply the offset directly to the menu, using the top and left menu properties. E.g.,

Code:
left="offset=-2";

will offset the menu's position 2px to the left.

Hope that helps,

Kevin


Poster: jshepherd
Dated: Monday October 30 2006 - 8:18:01 GMT

Thank you.

That solved the problem straight away.