Whatever message this page gives is out now! Go check it out!
autoDismissDelay="5000"
hideDelay="250"
preventOverlap="true|false"
showDelay="200"
sourceForTooltip="URL"
style="CSS style specification"
tooltip="text">
Display tags
</cftooltip>Attribute | Req/Opt | Default | Description |
autoDismissDelay | Optional | 5000 | The number of milliseconds between the time when the user moves the mouse pointer over the component (and leaves it there) and when the tool tip disappears. |
hideDelay | Optional | 250 | The number of milliseconds to delay between the time when the user moves the mouse pointer away from the component and when the tool tip disappears. |
preventOverlap | Optional | true | A Boolean value specifying whether to prevent the tool tip from overlapping the component that it describes. |
showDelay | Optional | 200 | The number of milliseconds to delay between the time when the user moves the mouse over the component and when the tool tip appears. |
sourceForTooltip | Optional | The URL of a page with the tool tip contents. The page can include HTML markup to control the format, and the tip can include images. If you specify this attribute, an animated icon appears with the text "Loading..." while the tip is being loaded. | |
style | Optional | A CSS style specification for the tooltip. Use this attribute to set the width, text color, background color, padding, and other style properties. | |
tooltip | Optional | Tip text to display. The text can include HTML formatting. Ignored if you specify a sourceForTooltip attribute. |
<cfset theItem="left-handed & other specialty wrenches">
<cfset theImage="lhbwrench.jpg">
<!--- The theItem string has an ampersand, so you must URL-encode it. --->
<cftooltip sourceForTooltip="tiptext.cfm?itemid=#URLEncodedFormat(theItem)#">
<cfoutput>
<b>Try this one!</b>
<img src="#theImage#" />
</cfoutput>
</cftooltip><cfoutput><b> Click to find more about #URL.itemid# </b></cfoutput>