Returns
A Boolean value; if
true
Example
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);
}
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
The
argument, which is required, is a Boolean. Set the value to
allblocks
ID and class for div tags only. Set the value to
block elements.
Returns
A Boolean: If
, IDs are displayed; if
true
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);
}
460
Design
, borders are displayed; if
false
, borders are not displayed.
false
to display the ID and class for all
false
IDs are not displayed.
to display
true
Need help?
Do you have a question about the DREAMWEAVER 8-DREAMWEAVER API and is the answer not in the manual?