|
home / documentation / reference / millisecondsvisible
MilliSecondsVisible
- Description:
- The time, in milliseconds, that a menu should remain visible after
the mouse has rolled completely off all menus (1000 = one second).
- Value:
- Integer, or JavaScript expression that returns an integer.
Negative values are not allowed.
- Applies To:
- Menus.
- Browser Compatibility:
- MilliSecondsVisible is supported in all browsers.
- Comments:
- You must always specify MilliSecondsVisible as an integer, or a
JavaScript expression that returns an integer. Do not use quoted strings or
non-numerical characters when defining MilliSecondsVisible.
When a menu tree of several cascaded menus is displayed, HierMenus honors the
MilliSecondsVisible behavior of the last menu the user rolled over in
order to decide when to hide the entire menu tree.
MilliSecondsVisible can be overridden by ClickKill. That is,
if a menu is set with ClickKill equal to true, then the menu
is not hidden until the user clicks the mouse away from the menu, regardless of
the MilliSecondsVisible setting.
- Examples:
// Ok:
MilliSecondsVisible:500, // half a second
MilliSecondsVisible:2000, // two seconds
MilliSecondsVisible:(HM_NS4)?200:500, // 200 if NS4, 500 otherwise
// Incorrect:
MilliSecondsVisible:.5,
MilliSecondsVisible:-300,
MilliSecondsVisible:"200", // quotes not allowed
MilliSecondsVisible:"(HM_NS4)?200:500", // no quoted expressions
- Default:
- 500
- See Also:
-
HoverTimeMilliSeconds,
ClickKill
|