beautypg.com

Dom.settextfieldkind(), Dom.settextformat() – Adobe Dreamweaver API Reference CS5 User Manual

Page 467

background image

462

DREAMWEAVER API REFERENCE

Code

Last updated 8/27/2013

Description
Sets the

ALIGN

attribute of the block that contains the selection to the specified value.

Arguments
alignValue

The alignValue argument must be

"left"

,

"center"

, or

"right"

.

Returns
Nothing.

dom.setTextFieldKind()

Availability
Dreamweaver 3.

Description
Sets the format of the selected text field.

Arguments
fieldType

The fieldType argument must be

"input"

,

"textarea"

, or

"password"

.

Returns
Nothing.

dom.setTextFormat()

Availability
Dreamweaver 4.

Description
Sets the block format of the selected text.

Arguments
blockFormat

The blockFormat argument is a string that specifies one of the following formats:

""

(for no format),

"p"

,

"h1"

,

"h2"

,

"h3"

,

"h4"

,

"h5"

,

"h6"

, or

"pre"

.

Returns
Nothing.