EasyManua.ls Logo

MACROMEDIA DREAMWEAVER 8-DREAMWEAVER API - Menu functions

MACROMEDIA DREAMWEAVER 8-DREAMWEAVER API
628 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
182 Workspace
Menu functions
Menu functions handle optimizing and reloading the menus in Dreamweaver. The
dreamweaver.getMenuNeedsUpdating() function and the
dreamweaver.notifyMenuUpdated() function are designed specifically to prevent
unnecessary update routines from running on the dynamic menus that are built into
Dreamweaver. See dreamweaver.getMenuNeedsUpdating() and
dreamweaver.notifyMenuUpdated() for more information.
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 182.
dreamweaver.notifyMenuUpdated()
Availability
Dreamweaver 3.
Description
Notifies Dreamweaver when the specified menu needs to be updated.
000_DW_API_Print.book Page 182 Wednesday, July 20, 2005 11:58 AM

Table of Contents