dom.getShowDivBackgrounds()

Availability

Dreamweaver 8.

Description

This function gets the state of the Layout Block Backgrounds visual aid.

Arguments

None.

Returns

A Boolean; true if the Layout Block Backgrounds visual aid is on; false otherwise.

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

 

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

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