Adobe 38040334 - Dreamweaver CS3 User Manual page 353

Api reference
Hide thumbs Also See for 38040334 - Dreamweaver CS3:
Table of Contents

Advertisement

Returns
Nothing.
Example
The following example turns off rendering of CSS styles:
dw.cssStylePalette.setDisplayStyles(false);
dreamweaver.cssStylePalette.setMediaType()
Availability
Dreamweaver MX 2004.
Description
Sets the target media type for rendering. Refreshes the rendering of all open documents.
Arguments
mediaType
• The
argument specifies the new target media type.
mediaType
Returns
Nothing.
Example
dw.cssStylePalette.setMediaType("print");
dreamweaver.getBlockVisBoxModelColors()
Availability
Dreamweaver 8.
Description
This function gets the colors used to render the box model for a selected block when the Layout Block Box Model
visual aid is on.
Arguments
None.
Returns
An array of strings that contains two strings:
, which is the hexadecimal value of the RGB color, in the form #RRGGBB
marginColor
the hexadecimal value of the RGB color, in the form #RRGGBB
Example
The following example checks the value of the margin and padding color; if either isn't white, it sets them both to
white:
DREAMWEAVER CS3
API Reference
, which is
paddingColor
348

Advertisement

Table of Contents
loading

This manual is also suitable for:

Dreamweaver cs3

Table of Contents