|
home / documentation / reference / scrollheightmin
ScrollHeightMin
- Description:
- The minimum height, in pixels, of a scrolling menu, not including the scroll
bars themselves.
- Value:
- Integer, or JavaScript expression that returns an integer.
Negative integers are not allowed.
- Applies To:
- Menus.
- Browser Compatibility:
- ScrollHeightMin is supported in all browsers.
- Comments:
- You must always specify ScrollHeightMin as an integer,
or a JavaScript expression that returns an integer. Do not use quoted strings
or non-numerical characters when defining ScrollHeightMin.
ScrollHeightMin is always interpreted by HM in pixels.

ScrollHeightMin can be used to avoid the situation where menus that
appear near the bottom of the browser window (typically because their TopKeepInWindowY
parameter has been set to false) are so small (in height) that the only thing visible is
the scroll bar itself. A scrollable menu is never displayed at a height lower than
ScrollHeightMin.
- Examples:
// Ok:
ScrollHeightMin:60,
ScrollHeightMin:90,
ScrollHeightMin:(HM_Mac)?80:100,
// 80 in Mac, 100 all others
// Incorrect:
ScrollHeightMin:"20",
ScrollHeightMin:40px,
ScrollHeightMin:"(HM_Mac)?80:100",
// do not quote expressions here
- Default:
- 30
- See Also:
-
ScrollEnabled,
ScrollOver,
ScrollInterval,
ScrollBarColor,
ScrollBarHeight,
ScrollImgAltTop,
ScrollImgSrcTop,
ScrollImgAltBot,
ScrollImgSrcBot,
ScrollImgWidth,
ScrollImgHeight,
ScrollBothBars
|