Adobe 38040334 - Dreamweaver CS3 User Manual page 201

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

Advertisement

Returns
Dreamweaver expects an array that contains an even number of elements. The first element is a string that contains
the label for the topmost button. The second element is a string of JavaScript code that defines the behavior of the
topmost button when it is clicked. The remaining elements define additional buttons in the same manner.
Example
The following instance of the
function commandButtons(){
return new Array("OK" , "doCommand()" , "Cancel" , ¬
"window.close()" , "Help" , "showHelp()");
}
configureSettings()
Availability
Dreamweaver 4.
Description
Determines whether the Report Settings button should be enabled in the Reports dialog box when this report is
selected.
Arguments
None.
Returns
Dreamweaver expects a Boolean value:
windowDimensions()
Availability
Dreamweaver 4.
Description
Sets specific dimensions for the Parameters dialog box. If this function is not defined, the window dimensions are
computed automatically.
Note: Do not define this function unless you want an Options dialog box that is larger than 640 x 480 pixels.
Arguments
platform
The value of the
platform
Returns
Dreamweaver expects a string of the form
The returned dimensions are smaller than the size of the entire dialog box because they do not include the area for
the OK and Cancel buttons. If the returned dimensions do not accommodate all options, scroll bars appear.
function defines the OK, Cancel, and Help buttons.
commandButtons()
if the Report Settings button should be enabled;
true
argument is either
"macintosh"
"widthInPixels,heightInPixels"
or
, depending on the user's platform.
"windows"
.
DREAMWEAVER CS3
Extending Dreamweaver
otherwise.
false
195

Advertisement

Table of Contents
loading

This manual is also suitable for:

Dreamweaver cs3

Table of Contents