Dynamic rich media component for ASP.Net Flash, Video, Audio, FlashVideo and ToolTip / Balloon Help controls for C# and VB.Net

ASPNetToolTip JavaScript API Reference

The ASPNetToolTip JavaScript API provides an interface to control any ASPNetToolTip control at run-time using JavaScript client code.

Please note that order of JavaScript code within the web page is important.  ASP.Net includes all JavaScript libraries in the <body> after the main form tag.  We suggest that you add your JavaScript API code towards the bottom of your HTML code.  If you wish to place JavaScript API commands in the <head> tag - you must call them on or after the window.onload event.

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.