MACROMEDIA DREAMWEAVER 8-EXTENDING DREAMWEAVER Manual page 186

Extending dreamweaver
Table of Contents

Advertisement

A JavaScript expression that indicates whether the menu command has a check
checked
mark next to it in the menu; if the expression evaluates as true, the item appears with a
check mark.
If present, indicates that a menu command is to be determined dynamically, by
dynamic
an HTML file; the file contains JavaScript code to set the text and state of the menu
command. If you specify a tag as
Indicates whether to synchronize the Design view and the Code view
isdomrequired
before executing the code for this menu command. Valid values are "
and "
". If you set this attribute to "
false
this menu command makes do not use the Dreamweaver DOM. For information about
the DOM, see
Chapter 5, "The Dreamweaver Document Object Model," on page
Specifies that the menuitem should appear only if the given Dreamweaver enabler
showIf
has value
. The possible enablers are:
true
_SERVERMODEL_JSP, _SERVERMODEL_CFML
_SERVERMODEL_CFML_UD4
_FILE_TEMPLATE, _VIEW_CODE, _VIEW_DESIGN, _VIEW_LAYOUT,
_VIEW_EXPANDED_TABLES
placing a comma (which means AND) between the enablers. You can specify NOT with
. For example, if you want the menu command to appear in Code view but not for a
"!"
ColdFusion page, specify the attribute as
!_SERVERMODEL_CFML".
Contents
None (empty tag).
Container
This tag must be contained in a
Example
<menuitem name="_New" key="Cmd+N" enabled="true"
command="dw.createDocument()" id="DWMenu_File_New" />
<separator>
Description
Indicates that a separator should appear at the corresponding location in the menu.
186
Menus and Menu Commands
, you must also specify a
dynamic
false
_SERVERMODEL_ASP, _SERVERMODEL_ASPNET,
(for all versions of ColdFusion),
(for UltraDev version 4 of ColdFusion),
, and
_VIEW_STANDARD
showIf="_VIEW_CODE,
tag.
menu
file
", it means that the changes to the file that
_SERVERMODEL_PHP,
. You can specify multiple enablers by
attribute.
" (the default)
true
127).

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the DREAMWEAVER 8-EXTENDING DREAMWEAVER and is the answer not in the manual?

This manual is also suitable for:

Dreamweaver 8

Table of Contents