Dom.hascharactermarkup(), Dom.indent(), Dom.inserthtml() – Adobe Dreamweaver API Reference CS5 User Manual
Page 460
455
DREAMWEAVER API REFERENCE
Code
Last updated 8/27/2013
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.
Returns
Nothing.
dom.insertHTML()
Availability
Dreamweaver 3.
Description
Inserts HTML content into the document at the current insertion point.
Arguments
contentToInsert, {bReplaceCurrentSelection}
•
The contentToInsert argument is the content you want to insert.