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
Summary of Contents for DREAMWEAVER 8-DREAMWEAVER API
Page 1: ...Dreamweaver API Reference...
Page 16: ......
Page 28: ...28 The File I O API...
Page 38: ...38 The HTTP API...
Page 68: ...68 Flash Integration...
Page 100: ...100 The Database API...
Page 116: ...116 The JavaBeans API...
Page 144: ...144 The Source Control Integration API...
Page 146: ......
Page 254: ...254 Workspace...
Page 298: ...298 Site...
Page 354: ...354 Document...
Page 396: ...396 Page Content...
Page 488: ...488 Design...
Page 550: ...550 Code...