beautypg.com

Dom.setshowdivoutlines(), Dom.getliveviewinspectmode(), Dom.setliveviewinspectmode() – Adobe Dreamweaver API Reference CS5 User Manual

Page 392

background image

387

DREAMWEAVER API REFERENCE

Design

Last updated 8/27/2013

dom.setShowDivOutlines()

Availability
Dreamweaver 8.

Description
This function turns the Layout Block Outlines visual aid on or off.

Arguments
show

The show argument, which is required, is a Boolean value that specifies whether to turn the Layout Block Outlines
visual aid on. Setting show to

true

turns the Layout Block Outlines visual aid on.

Returns
Nothing.

Example
See “

dom.getShowDivOutlines()

” on page 384.

dom.getLiveViewInspectMode()

Availability
Dreamweaver CS5.

Description
This function is used to determine if the Live View Inspect mode is enabled for the current document. For more
information, see Inspect CSS in Live view.

Arguments
None.

Returns
A Boolean:

true

if Inspect Mode is enabled for the current document.

dom.setLiveViewInspectMode()

Availability
Dreamweaver CS5.

Description
This function is used to enable or disable the Live View Inspect mode for the current document. For more information,
see Inspect CSS in Live view.

Arguments
A Boolean. Specify

true

to enable the Live View Inspect mode.