Adobe 38040334 API Reference - Page 407
dom.indent, dom.insertHTML, argument is a value
UPC - 883919090467
View all Adobe 38040334 manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 407 highlights
DREAMWEAVER CS3 402 API Reference 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. • The bReplaceCurrentSelection argument, which is optional, is a Boolean value that indicates whether the content should replace the current selection. If the bReplaceCurrentSelection argument is a value of true, the content replaces the current selection. If the value is false, the content is inserted after the current selection. Returns Nothing. Example The following code inserts the HTML string 130 into the current document: var theDOM = dw.getDocumentDOM(); theDOM.insertHTML('130'); The result appears in the Document window, as shown in the following figure: