Adobe 38040334 - Dreamweaver CS3 User Manual page 128

Api reference
Hide thumbs Also See for 38040334 - Dreamweaver CS3:
Table of Contents

Advertisement

DREAMWEAVER CS3
123
API Reference
Description
Undoes the previous step in the Document window, dialog box, floating panel, or Site panel that has focus.
Arguments
None.
Returns
Nothing.
Enabler
See "dom.canUndo()" on page 444
.
dreamweaver.historyPalette.clearSteps()
Availability
Dreamweaver 3.
Description
Clears all steps from the History panel and disables the Undo and Redo menu items.
Arguments
None.
Returns
Nothing.
dreamweaver.historyPalette.copySteps()
Availability
Dreamweaver 3.
Description
Copies the specified history steps to the Clipboard. Dreamweaver warns the user about possible unintended conse-
quences if the specified steps include an unrepeatable action.
Arguments
arrayOfIndices
• The
argument is an array of position indices in the History panel.
arrayOfIndices
Returns
A string that contains the JavaScript that corresponds to the specified history steps.
Example
The following example copies the first four steps in the History panel:
dreamweaver.historyPalette.copySteps([0,1,2,3]);

Advertisement

Table of Contents
loading

This manual is also suitable for:

Dreamweaver cs3

Table of Contents