![MACROMEDIA DREAMWEAVER MX 2004-DREAMWEAVER API Скачать руководство пользователя страница 393](http://html1.mh-extra.com/html/macromedia/dreamweaver-mx-2004-dreamweaver-api/dreamweaver-mx-2004-dreamweaver-api_reference_3336554393.webp)
General editing functions
393
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.
dom.hasCharacterMarkup()
Availability
Dreamweaver 3.
Description
Checks whether the selection already has the specified character markup.
Arguments
markupTagName
•
The
markupTagName
argument is the name of the tag that you’re checking. It must be one of
the following strings:
"b"
,
"cite"
,
"code"
,
"dfn"
,
"em"
,
"i"
,
"kbd"
,
"samp"
,
"s"
,
"strong"
,
"tt"
,
"u"
, or
"var"
.
000_DW_API_Print.book Page 393 Wednesday, August 20, 2003 9:14 AM
Содержание DREAMWEAVER MX 2004-DREAMWEAVER API
Страница 1: ...Dreamweaver API Reference...
Страница 24: ...24 Contents...
Страница 32: ......
Страница 70: ...70 Chapter 5 Fireworks Integration...
Страница 76: ...76 Chapter 6 Flash Integration...
Страница 116: ...116 Chapter 9 The JavaBeans API...
Страница 140: ......
Страница 152: ...152 Chapter 11 Application...
Страница 218: ...218 Chapter 12 Workspace...
Страница 248: ...248 Chapter 13 Site...
Страница 292: ...292 Chapter 14 Document...
Страница 378: ...378 Chapter 17 Design...
Страница 430: ...430 Chapter 18 Code...
Страница 486: ...486 Index...