beautypg.com

Dom.arrange(), Dom.makesizesequal(), Dom.moveselectionby() – Adobe Dreamweaver API Reference CS5 User Manual

Page 409

background image

404

DREAMWEAVER API REFERENCE

Design

Last updated 8/27/2013

dom.arrange()

Availability
Dreamweaver 3.

Description
Moves the selected hotspots in the specified direction.

Arguments
toBackOrFront

The toBackOrFront argument is the direction in which the hotspots must move, either front or back.

Returns
Nothing.

Enabler
See “

dom.canArrange()

” on page 493.

dom.makeSizesEqual()

Availability
Dreamweaver 3.

Description
Makes the selected layers or hotspots equal in height, width, or both. The last layer or hotspot selected is the guide.

Arguments
bHoriz, bVert

The bHoriz argument is a Boolean value that indicates whether to resize the layers or hotspots horizontally.

The bVert argument is a Boolean value that indicates whether to resize the layers or hotspots vertically.

Returns
Nothing.

dom.moveSelectionBy()

Availability
Dreamweaver 3.

Description
Moves the selected layers or hot spots by the specified number of pixels horizontally and vertically.