deleteServerBehavior()
Availability
Dreamweaver UltraDev 1.
Description
Removes the behavior from the user's document. It is called when the user clicks the Minus (-) button on the Server
Behaviors panel. It can edit a user's document.
For more information, see "dwscripts.deleteSB()" on page 254.
Arguments
serverBehavior
• The
JavaScript object represents the behavior.
serverBehavior
Returns
Dreamweaver expects nothing.
displayHelp()
Description
If this function is defined, a Help button appears below the OK and Cancel buttons in the dialog box. This function
is called when the user clicks the Help button.
Arguments
None.
Returns
Dreamweaver expects nothing.
Example
// the following instance of displayHelp() opens
// in a browser a file that explains how to use
// the extension.
function displayHelp(){
var myHelpFile = dw.getConfigurationPath() +
'/ExtensionsHelp/superDuperHelp.htm';
dw.browseDocument(myHelpFile);
}
findServerBehaviors()
Availability
Dreamweaver UltraDev 1.
Description
Searches the user's document for instances of itself. For each instance it finds, the
function creates a JavaScript object, and it attaches state information as JavaScript properties of the object.
DREAMWEAVER CS3
Extending Dreamweaver
findServerBehaviors()
251