Adobe 38040334 - Dreamweaver CS3 User Manual page 342

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

Advertisement

dom.getShowDivBoxModel()
Availability
Dreamweaver 8.
Description
This function gets the state of the Layout Block Box Model visual aid.
Arguments
None.
Returns
A Boolean;
if the Layout Block Box Model visual aid is on;
true
Example
The following example checks whether the Layout Block Box Model visual aid is on and, if not, turns it on:
var currentDOM = dw.getDocumentDOM();
if (currentDOM.getShowDivBoxModel() == false){
currentDOM.setShowDivBoxModel(true);
}
dom.getShowDivOutlines()
Availability
Dreamweaver 8.
Description
This function gets the state of the Layout Block Outlines visual aid.
Arguments
None.
Returns
A Boolean;
if the Layout Block Outlines visual aid is on;
true
Example
The following example checks whether the Layout Block Outlines visual aid is on and, if not, turns it on:
var currentDOM = dw.getDocumentDOM();
if (currentDOM.getShowDivOutlines() == false){
currentDOM.setShowDivOutlines(true);
}
dom.removeCSSStyle()
Availability
Dreamweaver 3.
otherwise.
false
otherwise.
false
DREAMWEAVER CS3
337
API Reference

Advertisement

Table of Contents
loading

This manual is also suitable for:

Dreamweaver cs3

Table of Contents