Adobe Dreamweaver API Reference CS5 Uživatelský manuál Strana 135

  • Stažení
  • Přidat do mých příruček
  • Tisk
  • Strana
    / 533
  • Tabulka s obsahem
  • KNIHY
  • Hodnocené. / 5. Na základě hodnocení zákazníků
Zobrazit stránku 134
130
DREAMWEAVER API REFERENCE
Workspace
Last updated 8/27/2013
dreamweaver.historyPalette.setUndoState()
Availability
Dreamweaver 3.
Description
Performs the correct number of undo or redo operations to arrive at the specified undo state.
Arguments
undoState
The undoState argument is the object that the dreamweaver.historyPalette.getUndoState() function
returns.
Returns
Nothing.
Insert object functions
Insert object functions handle operations related to the objects on the Insert bar or listed on the Insert menu.
dreamweaver.objectPalette.getMenuDefault()
Availability
Dreamweaver MX 2004.
Description
Retrieves the ID string of the default item for the associated menu.
Arguments
menuId
The menuId argument is the string that defines the menu in the insertbar.xml file.
Returns
A string value defining the ID of the default item.
Example
The following example assigns the current default object for the Media menu to the defID variable:
var defId = dw.objectPalette.getMenuDefault("DW_Media");
dreamweaver.objectPalette.setMenuDefault()
Availability
Dreamweaver MX 2004.
Zobrazit stránku 134
1 2 ... 130 131 132 133 134 135 136 137 138 139 140 ... 532 533

Komentáře k této Příručce

Žádné komentáře