MACROMEDIA DREAMWEAVER 8-DREAMWEAVER API Specifiche Pagina 492

  • Scaricare
  • Aggiungi ai miei manuali
  • Stampa
  • Pagina
    / 692
  • Indice
  • SEGNALIBRI
  • Valutato. / 5. Basato su recensioni clienti
Vedere la 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"
:
Vedere la pagina 491
1 2 ... 487 488 489 490 491 492 493 494 495 496 497 ... 691 692

Commenti su questo manuale

Nessun commento