DDEnable

Syntax bitmap.DDEnable(URL [,Target])

Description Adds a drill-down effect to this bitmap object.

Drill-down effects include linking to a different web page or executing a JavaScript function. The drill-down effect will occur whenever a user clicks his or her mouse over a specific data item. More information about drill-down effects is available in "Drill-down Effects" in Chapter 7 of the PopChart Server User Guide.

Parameters Bitmap.DDEnable accepts the following parameters.

URL

{ URL | JavaScript function }

Either the web page that the bitmap will drill-down to, or a JavaScript function.

If the URL parameter is a web page, the link will be relative to the location of the web page that contains the PopChart image. Or, by prefixing the URL with http://, you can specify an absolute path to a web page.

If the URL parameter is a JavaScript function, it must be prefixed with javascript:. The function must also have been declared within the web page that contains the PopChart image.

Target

String

The target within the web page (specified by the URL parameter) to which the data item(s) will drill-down. This parameter is optional and should not be used when drilling-down to a JavaScript function.

Example 5.37 Bitmap.DDEnable Method Calls

bitmap1.DDEnable(http://www.myserver.com/logo.html) 

bitmap2.DDEnable(javascript:dostuff(true))