User Guide

Enablers 591
site.canLocateInSite()
Availability
Dreamweaver 3.
Description
Determines whether Dreamweaver can perform a Locate in Local Site or Locate in Remote
Site operation (depending on the argument).
Arguments
localOrRemote, siteOrURL
The localOrRemote argument must be either local or remote.
The siteOrURL argument must be the site keyword, which indicates that the function
should act on the selection in the Site panel or the URL for a single file.
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.
000_DW_API_Print.book Page 591 Wednesday, July 20, 2005 11:58 AM