JavaScript API Reference
The ASPNetToolTip JavaScript API provides an interface to control any ASPNetToolTip control at run-time using JavaScript client code.
The API can be accessed by using the accessor function below:
Accessor function
ASPNetToolTip.ToolTip(ControlName) |
Returns an object allowing you to use the JavaScript API methods to control a ASPNetToolTip object.
e.g. tooltipObject = ASPNetToolTip.ToolTip (“ToolTip1”) |
JavaScript API
To use the API functions, you must call them using the object returned by the Accessor function.
e.g. ASPNetToolTip.ToolTip(“ToolTip1”).StartToolTip()
StartToolTip() |
Makes the ToolTip appear. |
StopToolTip() |
Makes the ToolTip disappear. |
ToggleToolTip() |
If the ToolTip is open, it closes it, if it is closed, it is opened.
If the ToolTip is currently in the middle of an animation, nothing happens. |
|