beautypg.com

Dom.getlisttag(), Dom.gettextalignment(), Dom.gettextformat() – Adobe Dreamweaver API Reference CS5 User Manual

Page 459

background image

454

DREAMWEAVER API REFERENCE

Code

Last updated 8/27/2013

dom.getListTag()

Availability
Dreamweaver 3.

Description
Gets the style of the selected list.

Arguments
None.

Returns
A string that contains the tag that is associated with the list (

"ul"

,

"ol"

, or

"dl"

) or an empty string if no tag is

associated with the list. This value always returns in lowercase letters.

dom.getTextAlignment()

Availability
Dreamweaver 3.

Description
Gets the alignment of the block that contains the selection.

Arguments
None.

Returns
A string that contains the value of the

ALIGN

attribute for the tag that is associated with the block or an empty string if

the

ALIGN

attribute is not set for the tag. This value always returns in lowercase letters.

dom.getTextFormat()

Availability
Dreamweaver 3.

Description
Gets the block format of the selected text.

Arguments
None.

Returns
A string that contains the block tag that is associated with the text (for example,

"p"

,

"h1"

,

"pre"

, and so on) or an

empty string if no block tag is associated with the selection. This value always returns in lowercase letters.