Adobe 38040334 - Dreamweaver CS3 User Manual page 355

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

Advertisement

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 color and width are used.
forWhat
Possible values are
"divs"
are used to outline all layers when the 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
width
and
arguments are used to outline any div or layout block that is selected.
width
• The
argument, which is required, is a string that contains the hexadecimal value that indicates the RGB
color
color in the form #RRGGBB.
• The
argument, which is required, is an integer that indicates the outline width, in pixels.
width
• The
argument, which is optional, is a string that indicates the style of the outline. Possible values are
style
,
,
"SOLID"
"DOTTED"
"DASHED"
ignored when the
forWhat
Returns
Nothing.
Example
See "dreamweaver.getBlockVisOutlineProperties()" on page 349.
dreamweaver.setDivBackgroundColors()
Availability
Dreamweaver 8.
Description
This function sets the colors used by the Layout Block Backgrounds visual aid.
Arguments
colors
• The
argument, which is required, is an array of strings that contains all the colors, represented as
colors
hexadecimal values in the form #RRGGBB. The array must contain 16 colors.
,
, or
"selectedDiv"
"layers"
, and
. The
"OUTSET"
"OUTSET"
argument's value is
"selectedDiv"
. If the value is
, the specified color and width
"layers"
"selectedDiv"
value is applicable to layers only. This argument is
.
DREAMWEAVER CS3
API Reference
, the
and
"divs"
color
, the
color
350

Advertisement

Table of Contents
loading

This manual is also suitable for:

Dreamweaver cs3

Table of Contents