Site.locateinsite(), Site.makeeditable() – Adobe Dreamweaver API Reference CS5 User Manual

Page 242

Advertising
background image

237

DREAMWEAVER API REFERENCE

Site

Last updated 8/27/2013

Arguments
siteOrURL

•

The siteOrURL argument must contain one of the following two values:

•

The keyword

"site"

, which indicates that the

isCloaked()

function should test the selection in the Files panel.

•

The file URL of a particular folder, which indicates that

isCloaked()

should test the specified folder.

Returns
A Boolean value:

true

if the specified object is cloaked;

false

otherwise.

site.locateInSite()

Availability
Dreamweaver 3.

Description
Locates the specified file (or files) in the specified pane of the Files panel and selects the files.

Arguments
localOrRemote, siteOrURL

•

The localOrRemote argument must be either

"local"

or

"remote"

.

•

The siteOrURL argument must be the keyword

"site"

, which indicates that the function should act on the

selection in the Files panel or the URL for a single file.

Returns
Nothing.

Enabler
See “

site.canLocateInSite()

” on page 523.

site.makeEditable()

Availability
Dreamweaver 3.

Description
Turns off the read-only flag on the selected files.

Arguments
None.

Returns
Nothing.

Advertising