setDownloadDirectory Property

Description

This property sets the location to download the Ephox EditLive! for Java source from and the JRE file, if it is needed. 

Syntax

JavaScript object.setDownloadDirectory(strDownloadDirectory)

Parameters

strDownloadDirectory Required.  A string containing the location to download the Editlive! for Java source from and the JRE file, if needed.

Example

The following creates an instance of EditLive! for Java and sets the download directory to be ../editlivejava.

var editlivejava1;
editlivejava1 = new EditLiveJava("ELJApplet1","600","400");
editlivejava1.setDownloadDirectory("../editlivejava");

Remarks

This property must be a relative URL.

See Also