User Guide
462 Design
Example
See “dom.getShowBlockBackgrounds()” on page 459.
dom.setShowBlockBorders()
Availability
Dreamweaver 8.
Description
This function turns on or off the visual aid that draws borders for all blocks or divs.
Arguments
allblocks
■ The allblocks argument, which is required, is a Boolean. Set the value to true to apply
borders to div tags only. Set the value to
false to apply borders to all block elements.
Returns
Nothing.
Example
See “dom.getShowBlockBorders()” on page 459.
dom.setShowBlockIDs()
Availability
Dreamweaver 8.
Description
This function turns on or off the visual aid that displays the ID and class for all blocks or divs.
Arguments
allblocks
■ The allblocks argument, which is required, is a Boolean. Set the value to true to display
the ID and class for div tags only. Set the value to
false to display the ID and class for all
block elements.
Returns
Nothing.
000_DW_API_Print.book Page 462 Wednesday, July 20, 2005 11:58 AM