HideButtonText Property

Description

This property specifies the text to be used with the hide 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

setHideButtonText(strFileURL);

Parameters

strButtonText

A string which is the text to be displayed on the hide button for this instance of EditLive! for XML when it is displayed as a button.

Examples

Example 16.17. ShowButtonIconURL Property Example Scripting

The following code would specify that EditLive! for XML is to use the text Hide EditLive! for XML when displaying the hide button for EditLive! for XML.

JavaScript

editlivejs.setHideButtonText(escape("Hide EditLive! for XML"));
...
editlivejs.showAsButton("true");

Note

The string passed to the JavaScript setHideButtonText property must be URL encoded. It is recommended that a server-side URL encoding function be used if available as the JavaScript escape function does not fully comply with the URL encoding standard.

Remarks

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

The string passed to the JavaScript setHideButtonText property must be URL encoded. It is recommended that a server-side URL encoding function be used if available as the JavaScript escape function does not fully comply with the URL encoding standard.

See Also