dom.getShowBlockIDs()

Availability

Dreamweaver 8.

Description

This function gets the state of the visual aid that displays ID and class information for all blocks or divs.

Arguments

allblocks

Returns

A Boolean: If true, IDs are displayed; if false IDs are not displayed.

Example

The following example checks whether the block IDs are displayed and, if not, displays them:

var currentDOM = dw.getDocumentDOM();
if (currentDOM.getShowBlockIDs(false) == false){
   currentDOM.setShowBlockIDs(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_des83.htm