User Guide
CSS functions 423
Arguments
None.
Returns
A Boolean; true if the Layout Block Box Model visual aid is on; false otherwise.
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; true if the Layout Block Outlines visual aid is on; false otherwise.
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);
}
000_DW_API_Print.book Page 423 Wednesday, July 20, 2005 11:58 AM