MACROMEDIA DREAMWEAVER 8-DREAMWEAVER API Reference page 461

Dreamweaver api reference
Table of Contents

Advertisement

dom.getShowBoxModel()
Availability
Dreamweaver 8.
Description
This function turns on and off the visual aid that colors the full box model for the selected
block.
Arguments
None.
Returns
Nothing.
Example
The following example checks whether the full box model for the selected box is displayed in
color, and, if not, colors it:
var currentDOM = dw.getDocumentDOM();
if (currentDOM.getShowBoxModel() == false){
currentDOM.setShowBoxModel(true);
}
dom.setShowBlockBackgrounds()
Availability
Dreamweaver 8.
Description
This function turns on and off the visual aid that forces background coloring for all blocks or
all divs.
Arguments
allblocks
The
argument, which is required, is a Boolean. Set the value to
allblocks
background coloring to div tags only. Set the value to
to all block elements.
Returns
Nothing.
to apply background coloring
false
Layout view functions
to apply
true
461

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?

Questions and answers

This manual is also suitable for:

Dreamweaver 8

Table of Contents