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
Summary of Contents for DREAMWEAVER MX 2004
Page 1: ...Dreamweaver API Reference...
Page 24: ...24 Contents...
Page 32: ......
Page 70: ...70 Chapter 5 Fireworks Integration...
Page 76: ...76 Chapter 6 Flash Integration...
Page 116: ...116 Chapter 9 The JavaBeans API...
Page 140: ......
Page 152: ...152 Chapter 11 Application...
Page 218: ...218 Chapter 12 Workspace...
Page 248: ...248 Chapter 13 Site...
Page 292: ...292 Chapter 14 Document...
Page 378: ...378 Chapter 17 Design...
Page 430: ...430 Chapter 18 Code...
Page 486: ...486 Index...