s@rdalya

 

ToolTip

Page history last edited by vozcelik 3 yrs ago


 

ToolTip

(extends DynamicLayer)


Object Sumary

The object is used to pop a ToolTip when hovering on or focusing to an object.

 

If you are bored of the default ToolTip of the browser. If you need to add tips to page elements that are views in browsers that do not support the "alt" "title" attribute. Then ToolTip is crafted just for you.

 

You can do any HTML formatting in it, even you can add links, images, etc.


Constructor

 

ToolTip(elmTip,intTimeoutShow,intTimeoutHide,leftOffset,topOffset)

 

parameters

elmTip - The object reference or String index of the DHTML element.

intTimeoutShow - (optional) The time in milliseconds the tip will be visible after hovering on / tabbing to the object.

intTimeoutHide - (optional) The time in milliseconds which the tip will hide after hovering out / tabbing away from the object.

leftOffset - (optional) The left offset for the tip to display.

topOffset - (optional) The top offset for the tip to display

 

comments

Creates a new ToolTip object.


Methods

 

ToolTip.hide()

 

comments

Hides the ToolTip.

 

Note that calling this method is most of the time not necessary, since ToolTip automagically hides itself when the cursor goes out of the element.


ToolTip.show()

 

comments

Shows the ToolTip.


ToolTip.passivate()

 

comments

Detaches event handlers from the object, thus deactivates it.


See Also

 

None given.


Usage Examples

 

Comments (0)

You don't have permission to comment on this page.