Adobe 38040334 - Dreamweaver CS3 User Manual page 407

Api reference
Hide thumbs Also See for 38040334 - Dreamweaver CS3:
Table of Contents

Advertisement

dom.indent()
Availability
Dreamweaver 3.
Description
Indents the selection using
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
• The
bReplaceCurrentSelection
content should replace the current selection. If the
content replaces the current selection. If the value is
Returns
Nothing.
Example
The following code inserts the HTML string
var theDOM = dw.getDocumentDOM();
theDOM.insertHTML('<b>130</b>');
The result appears in the Document window, as shown in the following figure:
tags. If the selection is a list item, this function indents the selection by
BLOCKQUOTE
argument is the content you want to insert.
argument, which is optional, is a Boolean value that indicates whether the
bReplaceCurrentSelection
<b>130</b>
, the content is inserted after the current selection.
false
into the current document:
DREAMWEAVER CS3
API Reference
argument is a value of
true
402
, the

Advertisement

Table of Contents
loading

This manual is also suitable for:

Dreamweaver cs3

Table of Contents