Arguments
x, y
•
The
argument is the number of pixels that the selection must move horizontally.
x
•
The
argument is the number of pixels that the selection must move vertically.
y
Returns
Nothing.
dom.resizeSelectionBy()
Availability
Dreamweaver 3.
Description
Resizes the currently selected layer or hotspot.
Arguments
,
,
left
top
bottom
•
The
argument is the new position of the left boundary of the layer or hotspot.
left
•
The
argument is the new position of the top boundary of the layer or hotspot.
top
•
The
argument is the new position of the bottom boundary of the layer or hotspot.
bottom
•
The
argument is the new position of the right boundary of the layer or hotspot.
right
Returns
Nothing.
Example
If the selected layer has the Left, Top, Width, and Height properties shown, calling
dw.getDocumentDOM().resizeSelectionBy(–10,–30,30,10)
40, Top to 20, Width to 240, and Height to 240.
dom.setLayerTag()
Availability
Dreamweaver 3.
Description
Specifies the HTML tag that defines the selected layer or layers.
356
Chapter 17: Design
,
right
is equivalent to resetting Left to
Need help?
Do you have a question about the DREAMWEAVER MX 2004-DREAMWEAVER API and is the answer not in the manual?