Adobe 38040334 - Dreamweaver CS3 User Manual page 245

Extending dreamweaver
Hide thumbs Also See for 38040334 - Dreamweaver CS3:
Table of Contents

Advertisement

displayHelp()
Description
If this function is defined, a Help button appears below the OK and Cancel buttons in the Parameters 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);
}
deleteBehavior()
Description
This function undoes any edits that the
Note: Dreamweaver automatically deletes the function declaration and the event handler that are associated with a
behavior when the user deletes the behavior in the Behaviors panel. It is necessary to define the
function only if the
applyBehavior()
inserts a tag).
Arguments
applyBehaviorString
This argument is the string that the
Returns
Dreamweaver expects nothing.
identifyBehaviorArguments()
Description
This function identifies arguments from a behavior function call as navigation links, dependent files, URLs,
Netscape Navigator 4.0-style references, or object names so that URLs in behaviors can update if the user saves the
document to another location and so the referenced files can appear in the site map and be considered dependent
files for the purposes of uploading to and downloading from a server.
Arguments
theFunctionCall
function performed.
applyBehavior()
function performs additional edits on the user's document (for example, if it
function returns.
applyBehavior()
DREAMWEAVER CS3
Extending Dreamweaver
deleteBehavior()
239

Advertisement

Table of Contents
loading

This manual is also suitable for:

Dreamweaver cs3

Table of Contents