Adobe Dreamweaver API Reference CS5 Manual de usuario Pagina 134

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 533
  • Tabla de contenidos
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 133
129
DREAMWEAVER API REFERENCE
Workspace
Last updated 8/27/2013
Example
A call to dreamweaver.historyPalette.replaySteps([0,2,3]) function plays the first, third, and fourth steps in
the History panel.
dreamweaver.historyPalette.saveAsCommand()
Availability
Dreamweaver 3.
Description
Opens the Save As Command dialog box, which lets the user save the specified steps as a command. Dreamweaver
warns the user of possible unintended consequences if the steps include an unrepeatable action.
Arguments
arrayOfIndices
The arrayOfIndices argument is an array of position indexes in the History panel.
Returns
A string that contains the JavaScript that corresponds to the specified history steps.
Example
The following example saves the fourth, sixth, and eighth steps in the History panel as a command:
dreamweaver.historyPalette.saveAsCommand([3,5,7]);
dreamweaver.historyPalette.setSelectedSteps()
Availability
Dreamweaver 3.
Description
Selects the specified steps in the History panel.
Arguments
arrayOfIndices
The arrayOfIndices function is an array of position indices in the History panel. If no argument is supplied, all the
steps are unselected.
Returns
Nothing.
Example
The following example selects the first, second, and third steps in the History panel
dreamweaver.historyPalette.setSelectedSteps([0,1,2]);
Vista de pagina 133
1 2 ... 129 130 131 132 133 134 135 136 137 138 139 ... 532 533

Comentarios a estos manuales

Sin comentarios