Dreamweaver 8.
This function gets the state of the visual aid that draws borders for all blocks or all divs.
allblocks
allblocks argument, which is required, is a Boolean. Set the value to true to get the state for div tags only. Set the value to false to get the state for all block elements.
A Boolean value; if true, borders are displayed; if false, borders are not displayed.
The following example checks whether the block borders visual aid is on and, if not, turns it on:
var currentDOM = dw.getDocumentDOM();
if (currentDOM.getShowBlockBorders(false) == false){
currentDOM.setShowBlockBorders(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_des82.htm