User Guide
398 Chapter 18: Code
dom.removeLink()
Availability
Dreamweaver 3.
Description
Removes the hypertext link from the selection.
Arguments
None.
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.
000_DW_API_Print.book Page 398 Wednesday, August 20, 2003 9:14 AM