![MACROMEDIA DREAMWEAVER 8-DREAMWEAVER API Скачать руководство пользователя страница 503](http://html1.mh-extra.com/html/macromedia/dreamweaver-8-dreamweaver-api/dreamweaver-8-dreamweaver-api_reference_3332054503.webp)
General editing functions
503
Arguments
None.
Returns
The encoding identity of the document. For example, for a Latin1 document, the function
returns
iso-8859-1
.
dom.getFontMarkup()
Availability
Dreamweaver 3.
Description
Gets the value of the specified attribute of the
FONT
tag for the current selection.
Arguments
attribute
■
The
attribute
argument must be
"face"
,
"size"
, or
"color"
.
Returns
A string that contains the value of the specified attribute or an empty string if the attribute is
not set.
dom.getLineFromOffset()
Availability
Dreamweaver MX.
Description
Finds the line number of a specific character offset in the text (the HTML or JavaScript code)
of the file.
Arguments
offset
■
The
offset
argument is an integer that represents the character location from the
beginning of the file.
Returns
An integer that represents the line number in the document.
000_DW_API_Print.book Page 503 Wednesday, July 20, 2005 11:58 AM
Содержание DREAMWEAVER 8-DREAMWEAVER API
Страница 1: ...Dreamweaver API Reference...
Страница 16: ......
Страница 28: ...28 The File I O API...
Страница 38: ...38 The HTTP API...
Страница 68: ...68 Flash Integration...
Страница 100: ...100 The Database API...
Страница 116: ...116 The JavaBeans API...
Страница 144: ...144 The Source Control Integration API...
Страница 146: ......
Страница 254: ...254 Workspace...
Страница 298: ...298 Site...
Страница 354: ...354 Document...
Страница 396: ...396 Page Content...
Страница 488: ...488 Design...
Страница 550: ...550 Code...