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

  • Descarregar
  • Adicionar aos meus manuais
  • Imprimir
  • Página
    / 692
  • Índice
  • MARCADORES
  • Avaliado. / 5. Com base em avaliações de clientes
Vista de página 491
492
dreamweaver.historyPalette.getStepCount()
Availability
Dreamweaver 3
Description
Gets the number of steps in the History panel.
Arguments
None.
Returns
An integer that represents the number of steps that are currently listed in the History panel.
dreamweaver.historyPalette.getStepsAsJavaScript()
Availability
Dreamweaver 3
Description
Gets the JavaScript equivalent of the specified history steps.
Arguments
arrayOfIndices
arrayOfIndices
is an array of position indices in the History panel.
Returns
A string that contains the JavaScript that corresponds to the specified history steps.
Example
If the three steps shown in the following example are selected in the History panel, a call to
dreamweaver.historyPalette.getStepsAsJavaScript(dw.historyPalette.getSelectedS
teps())
returns "dw.getDocumentDOM().insertText(’Hey diddle diddle, a cat and a
fiddle, the cow jumped over the moon.’);\ndw.getDocumentDOM().newBlock();\n
dw.getDocumentDOM().insertHTML(’<img src=\"../wdw99/50browsers/images/
sun.gif\">’, true);\n"
:
Vista de página 491
1 2 ... 487 488 489 490 491 492 493 494 495 496 497 ... 691 692

Comentários a estes Manuais

Sem comentários