512
Code
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.
000_DW_API_Print.book Page 512 Wednesday, July 20, 2005 11:58 AM
Summary of Contents for DREAMWEAVER 8-DREAMWEAVER API
Page 1: ...Dreamweaver API Reference...
Page 16: ......
Page 28: ...28 The File I O API...
Page 38: ...38 The HTTP API...
Page 68: ...68 Flash Integration...
Page 100: ...100 The Database API...
Page 116: ...116 The JavaBeans API...
Page 144: ...144 The Source Control Integration API...
Page 146: ......
Page 254: ...254 Workspace...
Page 298: ...298 Site...
Page 354: ...354 Document...
Page 396: ...396 Page Content...
Page 488: ...488 Design...
Page 550: ...550 Code...