beautypg.com

Dom.splitframe(), Layer and image map functions, Dom.align() – Adobe Dreamweaver API Reference CS5 User Manual

Page 408

background image

403

DREAMWEAVER API REFERENCE

Design

Last updated 8/27/2013

dom.splitFrame()

Availability
Dreamweaver 3.

Description
Splits the selected frame vertically or horizontally.

Arguments
splitDirection

The splitDirection argument is a string that must specify one of the following directions:

"up"

,

"down"

,

"left"

, or

"right"

.

Returns
Nothing.

Enabler
See “

dom.canSplitFrame()

” on page 501.

Layer and image map functions

Layer and image map functions handle aligning, resizing, and moving layers and image map hotspots. The function
description indicates if it applies to layers or to hotspots.

dom.align()

Availability
Dreamweaver 3.

Description
Aligns the selected layers or hotspots left, right, top, or bottom.

Arguments
alignDirection

The alignDirection argument is a string that specifies the edge to align with the layers or hotspots (

"left"

,

"right"

,

"top"

, or

"bottom"

).

Returns
Nothing.

Enabler
See “

dom.canAlign()

” on page 492.