Dom.setshowblockbackgrounds(), Dom.setshowblockborders(), Dom.setshowblockids() – Adobe Dreamweaver API Reference CS5 User Manual
Page 420
415
DREAMWEAVER API REFERENCE
Design
Last updated 8/27/2013
dom.setShowBlockBackgrounds()
Availability
Dreamweaver 8.
Description
This function turns on and off the visual aid that forces background coloring for all blocks or all divs.
Arguments
allblocks
•
The allblocks argument, which is required, is a Boolean value. Set the value to
true
to apply background coloring
to div tags only. Set the value to
false
to apply background coloring to all block elements.
Returns
Nothing.
Example
See “
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 value. 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.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.