User Guide
Layer and image map functions 443
Enabler
See “dom.canSplitFrame()” on page 562.
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 551.
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.
000_DW_API_Print.book Page 443 Wednesday, July 20, 2005 11:58 AM