ShowButtonIconURL Property

Description

This property specifies the URL at which the icon to be used with the show button for EditLive! for XML. This function can only be used when displaying EditLive! for XML as a button in the browser using the ShowAsButton method.

Syntax

JavaScript

setShowButtonIconURL(strImageURL);

Parameters

strImageURL

A string which is the URL for where the icon image for the show button for this instance of EditLive! for XML can be requested from.

Examples

Example 16.30. ShowButtonIconURL Property Example Scripting

The following code would specify that EditLive! for XML is to use the image http://server.com/icons/showButton.gif when displaying the show button for EditLive! for XML.

JavaScript

editlivejs.setShowButtonIconURL("http://server.com/icons/showButton.gif");
...
editlivejs.showAsButton("true");

Remarks

This function should only be used when the ShowAsButton method is used to display EditLive! for XML.

See Also