beautypg.com

Dom.setshowboxmodel(), Dom.setshowlayouttabletabs() – Adobe Dreamweaver API Reference CS5 User Manual

Page 421

background image

416

DREAMWEAVER API REFERENCE

Design

Last updated 8/27/2013

Arguments
allblocks

The allblocks argument, which is required, is a Boolean value. 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.

Example
See “

dom.getShowBlockIDs()

” on page 414.

dom.setShowBoxModel()

Availability
Dreamweaver 8.

Description
This function sets the state of the visual aid that colors the full box model for the selected block.

Arguments
None.

Returns
A Boolean value:

true

if the box model is displayed;

false

if the box model is not displayed.

Example
See “

dom.getShowBoxModel()

” on page 414.

dom.setShowLayoutTableTabs()

Availability
Dreamweaver 4.

Description
Sets the current document to display tabs for layout tables whenever it’s in Layout view. This function does not force
the document into Layout view.

Arguments
bShow

The bShow argument indicates whether to display tabs for layout tables when the current document is in Layout
view. If bShow is

true

, Dreamweaver displays tabs; if bShow is

false,

Dreamweaver does not display tabs.

Returns
Nothing.