
520
DREAMWEAVER API REFERENCE
Enablers
Last updated 8/27/2013
dreamweaver.snippetpalette.canInsert()
Availability
Dreamweaver MX.
Description
Checks whether you can insert or apply the selected element and returns either a true or false value so you can
enable or disable menu items for inserting or applying.
Arguments
None.
Returns
A Boolean value: true if you can insert or apply the selected element; false otherwise.
site.browseDocument()
Availability
Dreamweaver 4.
Description
Opens all selected documents in a browser window. It is the same as using the Preview in Browser command.
Arguments
browserName
• The browserName argument is the name of a browser as defined in the Preview in Browser preferences. If omitted,
this argument defaults to the user’s primary browser.
Returns
Nothing.
site.canCheckIn()
Availability
Dreamweaver 3.
Description
Determines whether Dreamweaver can perform a Check In operation.
Arguments
siteOrURL
• 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.
Comentarios a estos manuales