MACROMEDIA DREAMWEAVER 8-DREAMWEAVER API Especificaciones Pagina 492

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 692
  • Tabla de contenidos
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 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 pagina 491
1 2 ... 487 488 489 490 491 492 493 494 495 496 497 ... 691 692

Comentarios a estos manuales

Sin comentarios