Dreamweaver 8.
This function gets the state of the visual aid that displays ID and class information for all blocks or divs.
allblocks
allblocks argument, which is required, is a Boolean. Set the value to true to display ID and class for div tags only. Set the value to false to display the ID and class for all block elements.
A Boolean: If true, IDs are displayed; if false IDs are not displayed.
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