|
home / documentation / reference / childoverlap
ChildOverlap
- Description:
- The number of pixels that a child menu should overlap its parent
item horizontally.
- Value:
- Integer, or a JavaScript expression that returns an integer.
- Applies To:
- Menu Items.
- Browser Compatibility:
- ChildOverlap is supported in all browsers.
- Comments:
- ChildOverlap and ChildOffset are used together
by HierMenus to determine the position of a child menu when it is about to
appear.

If ChildOverlap is set to a negative number, then the
child menu is offset the horizontal distance away from the parent
menu item.
ChildOverlap can be overridden by ChildPerCentOver and
PositionChild.
ChildOverlap is always interpreted as pixels.
- Examples:
// Ok:
ChildOverlap:3,
ChildOverlap:25,
ChildOverlap:(HM_Mac)?18:30,
// 18 in Mac, 30 all others
// Incorrect:
ChildOverlap:"7",
ChildOverlap:10px,
ChildOverlap:'(HM_Mac)?18:30',
// Do not quote expressions here
- Default:
- 20
- See Also:
-
PositionChild,
ChildOffset,
ChildPerCentOver
|