MACROMEDIA DREAMWEAVER 8-DREAMWEAVER API Reference page 439

Dreamweaver api reference
Table of Contents

Advertisement

dreamweaver.getDivBackgroundColors()
Availability
Dreamweaver 8.
Description
This function gets the colors used by the Layout Block Backgrounds visual aid.
Arguments
None.
Returns
An array of strings that contains the 16 colors, with each color represented by the hexadecimal
value of the RGB color, in the form #RRGGBB.
Example
The following example gets the background colors used by the Layout Block Backgrounds
visual aid:
var backgroundColors = dreamweaver.getDivBackgroundColors();
dreamweaver.setBlockVisOutlineProperties()
Availability
Dreamweaver 8.
Description
This function sets the outline properties for the block visualization visual aids.
Arguments
forWhat, color, width, {style}
The
argument, which is required, is a string that specifies for what the specified
forWhat
color and width are used. Possible values are
value is
"layers"
Layout Block Outlines visual aid is on. If the value is
arguments are used to outline all divs and other layout blocks. If the value is
, the
"selectedDiv"
block that is selected.
The
argument, which is required, is a string that contains the hexadecimal value
color
that indicates the RGB color in the form #RRGGBB.
, the specified color and width are used to outline all layers when the
and
color
width
,
"divs"
"selectedDiv"
"divs"
arguments are used to outline any div or layout
, or
"layers"
, the
and
color
width
CSS functions
. If the
439

Hide quick links:

Advertisement

Table of Contents
loading
Need help?

Need help?

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

This manual is also suitable for:

Dreamweaver 8

Table of Contents