Sets or retrieves whether the tooltip behavior moves away from the mouse cursor.
Syntax
XML <Prefix:CustomTag ID = sID STYLE="behavior:url('tooltip.htc')" AVOIDMOUSE = "0" | "1" .../> Scripting oTooltip.avoidMouse[ = "0" | "1"]
Possible Values
Prefix Prefix used to associate CustomTag with a namespace. This prefix is set using the XMLNS attribute of the HTML tag. CustomTag User-defined tag. sID String that uniquely identifies the object. 0 Integer specifying that the ToolTip does not move away from the mouse cursor. 1 Integer specifying that the ToolTip moves to avoid contact with the mouse cursor. The property is read/write with a default value of 0.
Remarks
If avoidMouse is set to 1 and the user moves the mouse cursor away from the element and onto the ToolTip, the ToolTip disappears. If the property is set to 0, the ToolTip does not disappear when the mouse cursor moves directly from the element to the ToolTip.
The avoidMouse property is available only to objects participating in the tooltip behavior.
Applies To
tooltip