Adobe 38040334 - Dreamweaver CS3 User Manual page 406

Api reference
Hide thumbs Also See for 38040334 - Dreamweaver CS3:
Table of Contents

Advertisement

DREAMWEAVER CS3
401
API Reference
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
attribute for the tag that is associated with the block or an empty string
ALIGN
if the
attribute is not set for the tag. This value always returns in lowercase letters.
ALIGN
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,
,
,
, and so on) or an
"p"
"h1"
"pre"
empty string if no block tag is associated with the selection. This value always returns in lowercase letters.
dom.hasCharacterMarkup()
Availability
Dreamweaver 3.
Description
Checks whether the selection already has the specified character markup.
Arguments
markupTagName
• The
argument is the name of the tag that you're checking. It must be one of the following strings:
markupTagName
,
,
,
,
,
,
,
,
,
,
,
, or
.
"b"
"cite"
"code"
"dfn"
"em"
"i"
"kbd"
"samp"
"s"
"strong"
"tt"
"u"
"var"
Returns
A Boolean value that indicates whether the entire selection has the specified character markup. The function returns
a value of
if only part of the selection has the specified markup.
false

Advertisement

Table of Contents
loading

This manual is also suitable for:

Dreamweaver cs3

Table of Contents