|
home / documentation / reference / hovertimemilliseconds
HoverTimeMilliSeconds
- Description:
- The time, in milliseconds, that the mouse must hover over a parent item
before its child menu is displayed (1000 = one second). HoverTimeMilliSeconds
also applies to the hiding of child menus as the user rolls over adjacent menu
items in the parent menu (i.e., the time the child menu remains visible while the
user rolls over other parent menu items).
- Value:
- Integer, or JavaScript expression that returns an integer.
Negative values are not allowed.
- Applies To:
- Menus.
- Browser Compatibility:
- HoverTimeMilliSeconds is supported in all browsers.
- Comments:
- You must always specify HoverTimeMilliSeconds as an integer, or a
JavaScript expression that returns an integer. Do not use quoted strings or
non-numerical characters when defining HoverTimeMilliSeconds.
HoverTimeMilliSeconds is not supported in pop up menus; i.e.,
menus that are initially displayed using HM_f_PopUp do not delay for
HoverTimeMilliSeconds.
HoverTimeMilliSeconds
also applies to the hiding of child menus as the user rolls over adjacent menu
items in the parent menu (i.e., the time the child menu remains visible while the
user rolls over other parent menu items). To control the length of time a menu
remains visible when the user rolls the mouse completely off all menus, see
MilliSecondsVisible.
- Examples:
// Ok:
HoverTimeMilliSeconds:500, // half a second
HoverTimeMilliSeconds:2000, // two seconds
HoverTimeMilliSeconds:(HM_NS4)?200:500, // 200 if NS4, 500 otherwise
// Incorrect:
HoverTimeMilliSeconds:.5,
HoverTimeMilliSeconds:-300,
HoverTimeMilliSeconds:"200", // quotes not allowed
HoverTimeMilliSeconds:"(HM_NS4)?200:500", // no quoted expressions
- Default:
- 0
- See Also:
-
MilliSecondsVisible
|