Dom.resizeselection(), Dom.setattributewitherrorchecking() – Adobe Dreamweaver API Reference CS5 User Manual
Page 464

459
DREAMWEAVER API REFERENCE
Code
Last updated 8/27/2013
Arguments
attribute
•
The attribute argument must be
"face"
,
"size"
, or
"color"
.
Returns
Nothing.
dom.resizeSelection()
Availability
Dreamweaver 3.
Description
Resizes the selected object to the specified dimensions.
Arguments
newWidth, newHeight
•
The newWidth argument specifies the new width to which the function will set the selected object.
•
The newHeight argument specifies the new height to which the function will set the selected object.
Returns
Nothing.
dom.setAttributeWithErrorChecking()
Availability
Dreamweaver 3.
Description
Sets the specified attribute to the specified value for the current selection, prompting the user if the value is the wrong
type or if it is out of range. This function is valid only for the active document.
Arguments
attribute, value
•
The attribute argument specifies the attribute to set for the current selection.
•
The value argument specifies the value to set for the attribute.
Returns
Nothing.