
162 Insert Bar Objects
Returns
Dreamweaver expects nothing.
Example
The following example opens the myObjectHelp.htm file in a browser; this file explains how
to use the extension:
function displayHelp(){
var myHelpFile = dw.getConfigurationPath() +
'/ExtensionsHelp/myObjectHelp.htm';
dw.browseDocument(myHelpFile);
}
isDomRequired()
Description
This function determines whether the object requires a valid DOM to operate. If this
function returns a
true value or if the function is not defined, Dreamweaver assumes that the
command requires a valid DOM and synchronizes the Code and Design views for the
document before executing. Synchronization causes all edits in the Code view to be updated
in the Design view.
Arguments
None.
Returns
Dreamweaver expects a true value if a command requires a valid DOM to operate;
false otherwise.
insertObject()
Availability
Dreamweaver MX.
Komentarze do niniejszej Instrukcji