MACROMEDIA DREAMWEAVER 8-DREAMWEAVER API Reference page 422

Dreamweaver api reference
Table of Contents

Advertisement

, which indicates that the element is "
"full"
"
view as set by the setElementView("full") function.
full"
, which indicates that the element is neither
"normal"
Example
The following example changes the status of the selected element to
var currentDOM = dw.getDocumentDOM();
if (currentDOM && getElementView() == "hidden"){
currentDOM.setElementView("full");
}
dom.getShowDivBackgrounds()
Availability
Dreamweaver 8.
Description
This function gets the state of the Layout Block Backgrounds visual aid.
Arguments
None.
Returns
A Boolean;
if the Layout Block Backgrounds visual aid is on;
true
Example
The following example checks whether the Layout Block Backgrounds visual aid is on and, if
not, turns it on:
var currentDOM = dw.getDocumentDOM();
if (currentDOM.getShowDivBackgrounds() == false){
currentDOM.setShowDivBackgrounds(true);
}
dom.getShowDivBoxModel()
Availability
Dreamweaver 8.
Description
This function gets the state of the Layout Block Box Model visual aid.
422
Design
by default, but is currently in
hidden"
nor
"hidden"
"full"
false
.
"full"
if it is
:
"hidden"
otherwise.

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