DownloadDirectory Property

Description

This property must be set for all EditLive! for XML global objects.

This property specifies the directory in which the Ephox EditLive! for XML source files can be found on the server.

Syntax

JavaScript

setDownloadDirectory(strDownloadDirectory);

Parameters

strDownloadDirectory

A string specifying the location of the EditLive! for XML source files and JavaScript library.

Examples

Example 16.15. DownloadDirectory Property Example Scripting

The following code would specify that the source files were in a directory called redistributables/editlivexml on the Web server.

JavaScript

editlivejs.setDownloadDirectory("../../redistributables/editlivexml");

Remarks

This property must be set when instantiating EditLive! for XML