Adobe 38040334 API Reference - Page 301
dom.insertLibraryItem, dom.markSelectionAsEditable, dom.newEditableRegion
![]() |
UPC - 883919090467
View all Adobe 38040334 manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 301 highlights
DREAMWEAVER CS3 296 API Reference var theDOM = dw.getDocumentDOM(); var edRegs = theDOM.getEditableRegionList(); var selReg = theDOM.getSelectedEditableRegion(); alert(edRegs[selReg].innerHTML); dom.insertLibraryItem() Availability Dreamweaver 3. Description Inserts an instance of a library item into the document. Arguments libraryItemURL • The libraryItemURL argument is the path to an LBI file, which is expressed as a file:// URL. Returns Nothing. dom.markSelectionAsEditable() Availability Dreamweaver 3. Description Displays the New Editable Region dialog box. When the user clicks New Region, Dreamweaver marks the selection as editable and doesn't change any text. Arguments None. Returns Nothing. Enabler See "dom.canMarkSelectionAsEditable()" on page 441. dom.newEditableRegion() Availability Dreamweaver 3. Description Displays the New Editable Region dialog box. When the user clicks New Region, Dreamweaver inserts the name of the region, surrounded by curly braces ({ }), into the document at the insertion point location. Arguments None.
![](/manual_guide/products/adobe-38040334-api-reference-b593776/301.png)