beautypg.com

Site.synchronize(), Site.uncloak() – Adobe Dreamweaver API Reference CS5 User Manual

Page 250

background image

245

DREAMWEAVER API REFERENCE

Site

Last updated 8/27/2013

Example
The following example

var filePath = site.siteRelativeToLocalPath("/myWebApp/myFile.xlml");

returns "C:\Inetpub\wwwroot\siteA\myFile.xml" based on your site mappings and HTTP address specified in the
Local info of the Site Definition dialog box.

site.synchronize()

Availability
Dreamweaver 3.

Description
Opens the Synchronize Files dialog box.

Arguments
None.

Returns
Nothing.

Enabler
See “

site.canSynchronize()

” on page 526.

site.uncloak()

Availability
Dreamweaver MX.

Description
Uncloaks the current selection in the Files panel or the specified folder.

Arguments
siteOrURL

The siteOrURL argument must contain one of the following values:

The keyword

"site"

, which indicates that the

unCloak()

function should act on the selection in the Files panel.

The URL of a particular folder, which indicates that the

unCloak()

function should act on the specified folder

and all its contents.

Returns
Nothing.

Enabler
See “

site.canUncloak()

” on page 527.