Adobe Dreamweaver API Reference CS5 Uživatelský manuál Strana 332

  • Stažení
  • Přidat do mých příruček
  • Tisk
  • Strana
    / 533
  • Tabulka s obsahem
  • KNIHY
  • Hodnocené. / 5. Na základě hodnocení zákazníků
Zobrazit stránku 331
327
DREAMWEAVER API REFERENCE
Page content
Last updated 8/27/2013
Arguments
None.
Returns
An index into the array that the dom.getEditbableRegionList() function returns. For more information, see
dom.getEditableRegionList()” on page 325.
Example
The following code shows a dialog box with the contents of the selected editable region:
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.
Zobrazit stránku 331
1 2 ... 327 328 329 330 331 332 333 334 335 336 337 ... 532 533

Komentáře k této Příručce

Žádné komentáře