MACROMEDIA DREAMWEAVER 8-DREAMWEAVER API Especificações Página 523

  • Descarregar
  • Adicionar aos meus manuais
  • Imprimir
  • Página
    / 692
  • Índice
  • MARCADORES
  • Avaliado. / 5. Com base em avaliações de clientes
Vista de página 522
523
dom.getIsLibraryDocument()
Availability
Dreamweaver 3
Description
Determines whether the document is a library item
Arguments
None.
Returns
A Boolean value that indicates whether the document is an LBI file.
dom.getIsTemplateDocument()
Availability
Dreamweaver 3
Description
Determines whether the document is a template.
Arguments
None.
Returns
A Boolean value that indicates whether the document is a DWT file.
dom.getSelectedEditableRegion()
Availability
Dreamweaver 3
Description
If the selection or insertion point is inside an editable region, gets the position of the editable
region among all others in the body of the document.
Arguments
None.
Returns
An index into the array that “dom.getEditableRegionList()” on page 522 returns.
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);
Vista de página 522
1 2 ... 518 519 520 521 522 523 524 525 526 527 528 ... 691 692

Comentários a estes Manuais

Sem comentários