Click to return to the DHTML, HTML     
DELAY Attribute | delay P...     ELEMENT Attribute | eleme...     Behaviors Library    
Web Workshop  |  DHTML, HTML & CSS

DURATION Attribute | duration Property


Sets or retrieves how long the ToolTip is displayed, in seconds.

Syntax

XML<Prefix:CustomTag ID = sID STYLE="behavior:url('tooltip.htc')" DURATION = iDuration .../>
ScriptingoTooltip.duration[ = iDuration]

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.
iDurationInteger specifying the duration, in seconds, that the ToolTip is displayed. If -1 is provided, the ToolTip is displayed indefinitely.

The property is read/write with a default value of 10.

Remarks

The duration property is available only to objects participating in the tooltip behavior.

Applies To

[ Object Name ]
PlatformVersion
Win16:
Win32:
Mac:
Unix:
WinCE:
tooltip


Back to topBack to top

Did you find this topic useful? Suggestions for other topics? Write us!

© 1999 Microsoft Corporation. All rights reserved. Terms of use.