Adobe Dreamweaver API Reference CS5 Instrukcja Użytkownika Strona 145

  • Pobierz
  • Dodaj do moich podręczników
  • Drukuj
  • Strona
    / 533
  • Spis treści
  • BOOKMARKI
  • Oceniono. / 5. Na podstawie oceny klientów
Przeglądanie stron 144
140
DREAMWEAVER API REFERENCE
Workspace
Last updated 8/27/2013
dreamweaver.getMenuNeedsUpdating()
Availability
Dreamweaver 3.
Description
Checks whether the specified menu needs to be updated.
Arguments
menuId
The menuId argument is a string that contains the value of the id attribute for the menu item, as specified in the
menus.xml file.
Returns
A Boolean value that indicates whether the menu needs to be updated. This function returns false only if
dreamweaver.notifyMenuUpdated() has been called with this menuId, and the return value of menuListFunction
has not changed. For more information, see
dreamweaver.notifyMenuUpdated()” on page 140.
dreamweaver.notifyMenuUpdated()
Availability
Dreamweaver 3.
Description
Notifies Dreamweaver when the specified menu needs to be updated.
Arguments
menuId, menuListFunction
The menuId argument is a string that contains the value of the id attribute for the menu item, as specified in the
menus.xml file.
The menuListFunction argument must be one of the following strings: "dw.cssStylePalette.getStyles()",
"dw.getDocumentDOM().getFrameNames()", "dw.getDocumentDOM().getEditableRegionList",
"dw.getBrowserList()", "dw.getRecentFileList()", "dw.getTranslatorList()", "dw.getFontList()",
"dw.getDocumentList()", "dw.htmlStylePalette.getStyles()", or "site.getSites()".
Returns
Nothing.
dreamweaver.reloadMenus()
Availability
Dreamweaver 3.
Description
Reloads the entire menu structure from the menus.xml file in the Configuration folder.
Przeglądanie stron 144
1 2 ... 140 141 142 143 144 145 146 147 148 149 150 ... 532 533

Komentarze do niniejszej Instrukcji

Brak uwag