MACROMEDIA DREAMWEAVER 8-DREAMWEAVER API Spécifications Page 491

  • Télécharger
  • Ajouter à mon manuel
  • Imprimer
  • Page
    / 692
  • Table des matières
  • MARQUE LIVRES
  • Noté. / 5. Basé sur avis des utilisateurs
Vue de la page 490
491
Description
Copies the specified history steps to the Clipboard. Dreamweaver warns the user of possible
unintended consequences if the specified steps include an unrepeatable action.
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
The following code copies the first four steps in the History panel:
dreamweaver.historyPalette.copySteps([0,1,2,3]);
dreamweaver.historyPalette.getSelectedSteps()
Availability
Dreamweaver 3
Description
Determines which portion of the History panel is selected.
Arguments
None.
Returns
An array that contains the position indices of all the selected steps. The first position is position 0
(zero).
Example
If the second, third, and fourth steps are selected in the History panel, as shown in the following
illustration, a call to
dw.historyPalette.getSelectedSteps() returns [1,2,3].
Vue de la page 490
1 2 ... 486 487 488 489 490 491 492 493 494 495 496 ... 691 692

Commentaires sur ces manuels

Pas de commentaire