Specifications
508
Returns
Nothing.
dreamweaver.mapKeyCodeToChar()
Availability
Dreamweaver 4
Description
Takes a key code as retrieved from the event object’s keyCode field and translates it to a character.
You should check whether the key code is a special key, such as HOME, PGUP, and so on. If the
key code is not a special key, this method can be used to translate it to a character code that is
suitable for display to the user.
Arguments
keyCode
keyCode
is the key code to translate to a character.
Returns
Nothing.
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
alignDirection
is the edge to align with the layers or hotspots—"left", "right", "top", or
"bottom".
Returns
Nothing.
Enabler
“dom.canAlign()” on page 409
dom.arrange()
Availability
Dreamweaver 3
Description
Moves the selected hotspots in the specified direction.