Adobe 38040334 - Dreamweaver CS3 User Manual page 248

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

Advertisement

DREAMWEAVER CS3
242
Extending Dreamweaver
Note: For more information about the
function, see the dwscripts.js file in the
unescQuotes()
Configuration/Shared/Common/Scripts/CMN folder.
windowDimensions()
Description
This function 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 Parameters dialog box that is larger than 640 x 480 pixels.
Arguments
platform
The value of the argument is either
or
, depending on the user's platform.
"macintosh"
"windows"
Returns
Dreamweaver expects a string of the form
.
"widthInPixels,heightInPixels"
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.
Example
The following instance of
sets the dimensions of the Parameters dialog box to 648 x 520
windowDimensions()
pixels:
function windowDimensions(){
return "648,520";
}

Advertisement

Table of Contents
loading

This manual is also suitable for:

Dreamweaver cs3

Table of Contents