Returns
Nothing.
dom.resizeSelection()
Availability
Dreamweaver 3.
Description
Resizes the selected object to the specified dimensions.
Arguments
newWidth, newHeight
• The
argument specifies the new width to which the function will set the selected object.
newWidth
• The
argument specifies the new height to which the function will set the selected object.
newHeight
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
argument specifies the attribute to set for the current selection.
attribute
• The
argument specifies the value to set for the attribute.
value
Returns
Nothing.
dom.setLinkHref()
Availability
Dreamweaver 3.
Description
Makes the selection a hypertext link or changes the URL value of the HREF tag that encloses the current selection.
Arguments
linkHREF
DREAMWEAVER CS3
406
API Reference