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
Arguments
attribute
The
argument must be
attribute
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
argument is an integer that represents the character location from the
offset
beginning of the file.
Returns
An integer that represents the line number in the document.
tag for the current selection.
FONT
,
, or
"face"
"size"
"color"
.
General editing functions
503
Need help?
Do you have a question about the DREAMWEAVER 8-DREAMWEAVER API and is the answer not in the manual?