show Method

Description

This method displays the Ephox EditLive! for XML instance object upon which it is called in the Web browser.

Syntax

JavaScript

show();

Examples

Example 16.6. show Method Example Scripting

The following code sets only the required properties of an EditLive! for XML applet and then displays the applet within the Web page.

JavaScript

var editlive_js;
editlive_js = new EditLiveXML("ELApplet1","700","400");
editlive_js.setDownloadDirectory("../../redistributables/editlivexml");
editlive_js.setConfigurationFile("sample_elconfig.xml"); 
editlive_js.setDocument(escape("<p>Document body contents</p>")); 
editlive_js.show(); 

Remarks

Before this method is called, all the required properties of an EditLive! for XML instance object must be set.

See Also