MACROMEDIA DREAMWEAVER 8-EXTENDING DREAMWEAVER Manual page 320

Extending dreamweaver
Table of Contents

Advertisement

For more information about the
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.
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
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.
Example
The following instance of
box to 648 x 520 pixels:
function windowDimensions(){
return "648,520";
}
320
Behaviors
unescQuotes()
"macintosh"
"widthInPixels,heightInPixels"
windowDimensions()
function, see the dwscripts.js file in the
or
, depending on the user's
"windows"
sets the dimensions of the Parameters dialog
.

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the DREAMWEAVER 8-EXTENDING DREAMWEAVER and is the answer not in the manual?

This manual is also suitable for:

Dreamweaver 8

Table of Contents