User Guide

506 Code
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".
Returns
A Boolean value that indicates whether the entire selection has the specified character markup.
The function returns a value of
false if only part of the selection has the specified markup.
dom.indent()
Availability
Dreamweaver 3.
Description
Indents the selection using BLOCKQUOTE tags. If the selection is a list item, this function
indents the selection by converting the selected item into a nested list. This nested list is of the
same type as the outer list and contains one item, the original selection.
Arguments
None.
000_DW_API_Print.book Page 506 Wednesday, July 20, 2005 11:58 AM