beautypg.com

Dom.deleteselection(), Dom.editattribute() – Adobe Dreamweaver API Reference CS5 User Manual

Page 456

background image

451

DREAMWEAVER API REFERENCE

Code

Last updated 8/27/2013

Description
Applies the

FONT

tag and the specified attribute and value to the current selection.

Arguments
attribute, value

The attribute argument must be

"face"

,

"size"

, or

"color"

.

The value argument is the value to be assigned to the attribute; for example,

"Arial

,

Helvetica

,

sans-serif"

,

"5"

, or

"#FF0000"

.

Returns
Nothing.

dom.deleteSelection()

Availability
Dreamweaver 3.

Description
Deletes the selection in the document.

Arguments
None.

Returns
Nothing.

dom.editAttribute()

Availability
Dreamweaver 3.

Description
Displays the appropriate interface for editing the specified Document attribute. In most cases, this interface is a dialog
box. This function is valid only for the active document.

Arguments
attribute

The attribute is a string that specifies the tag attribute that you want to edit.

Returns
Nothing.