
359
DREAMWEAVER API REFERENCE
Dynamic documents
Last updated 8/27/2013
Arguments
None
Returns
bool
A Boolean value that indicates whether the Live view mode is enabled. False is returned, if the user has followed a link
to another document after invoking the Live View mode.
dreamweaver.findSiteForURI()
Availability
Dreamweaver CS5.
Description
This function is used to determine the site referred by the URI.
Arguments
DWUri
A URI that refers to a local file or a remote site (specified as a file:// path or an http:// link).
Returns
Object
An object that has the site context. The returned object has the following properties:
dom.browser.isCmdEnabled()
Availability
Dreamweaver CS5.
Description
This function is used to determine if a particular browser command is available for use.
Arguments
String
A string representing the browser command.The following table shows the valid command strings:
Property Description
siteName The name of the site referred by the URI.
localURI The DWUri object that represents the URI of the local site. If the URI refers to a remote site, the value
of the
localURI property will be null.
Komentarze do niniejszej Instrukcji