beautypg.com

Dom.setsnaptogrid(), Dreamweaver.gethideallfloaters(), Dreamweaver.getshowstatusbar() – Adobe Dreamweaver API Reference CS5 User Manual

Page 171

background image

166

DREAMWEAVER API REFERENCE

Workspace

Last updated 8/27/2013

Returns
Nothing.

dom.setSnapToGrid()

Availability
Dreamweaver 3.

Description
This function toggles the View > Grid > Snap To option on or off.

Arguments
bSnapToGrid

The bSnapToGrid argument is a Boolean value:

true

turns on the Snap To option;

false

turns it off.

Returns
Nothing.

dreamweaver.getHideAllFloaters()

Availability
Dreamweaver 3, and updated in CS4.

Description
Determines if all panels, docked or floating, are hidden. The result does not include the visibility state of the Insert bar.
It does not consider the following components hidden:

The closed panels

The collapsed tab groups

The collapsed panels

Note: The result does not include the Insert bar, but includes the Insert panel.

Arguments
None.

Returns
A Boolean value:

true

if all panels are hidden,

false

otherwise.

dreamweaver.getShowStatusBar()

Availability
Dreamweaver 3.