User Guide

Enablers 459
Returns
One of the following values:
If the first argument is the keyword local and the second argument is a URL, a Boolean value
that indicates whether the document belongs to a site
If the first argument is the keyword remote and the second argument is a URL, a Boolean
value that indicates whether the document belongs to a site for which a remote site has been
defined, and, if the server type is Local/Network, whether the drive is mounted
If the second argument is the keyword site, a Boolean value that indicates whether both
windows contain site files (not the site map) and whether the selection is in the opposite pane
from the argument
site.canMakeEditable()
Availability
Dreamweaver 3.
Description
Checks whether Dreamweaver can perform a Turn Off Read Only operation.
Arguments
None.
Returns
A Boolean value: true if Dreamweaver can perform a Turn Off Read Only operation; false if
one or more of the selected files is locked.
site.canMakeNewFileOrFolder()
Availability
Dreamweaver 3.
Description
Checks whether Dreamweaver can perform a New File or New Folder operation in the Site panel.
Arguments
None.
Returns
A Boolean value: true if any files are visible in the selected pane of the Site panel;
false otherwise.
000_DW_API_Print.book Page 459 Wednesday, August 20, 2003 9:14 AM