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.
Menu in Table Problem
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.,
will offset the menu's position 2px to the left.
Hope that helps,
Kevin
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: Select all
left="offset=-2";
Hope that helps,
Kevin