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);
   }

 

Send me an e-mail when comments are added to this page | Comment Report

Current page: http://livedocs.adobe.com/dreamweaver/8/apiref/17_des84.htm