file="command_file_path"
Required for pop-up menus and combo boxes. The
of items. The
attribute specifies the path, relative to the Configuration folder, of a
file
command file that contains JavaScript functions to populate, update, and execute the item.
The
attribute overrides the
file
, and
showIf
command
attribute, Dreamweaver ignores all the equivalent attributes that are specified in the tag. For
more information about command files, see
Example
file="Toolbars/MM/EditTitle.htm"
domRequired="true" or "false"
Optional. As with menus, the
should be synchronized with the Code view before Dreamweaver runs the associated
command. If you do not specify this attribute, it defaults to a
equivalent to the
isDOMRequired()
Example
domRequired="false"
enabled="script"
Optional. As with menus, the script returns a value that specifies whether the item is enabled.
If you do not specify this attribute, it defaults to enabled. The
to the
canAcceptCommand()
Example
enabled="dw.getFocus() == 'textView' || dw.getFocus() == 'html'"
checked="script"
This attribute is required for check buttons and radio buttons. Dreamweaver ignores the
attribute for other types of items. As with menus, the script returns a value that
checked
specifies whether the item is checked or unchecked. The
isCommandChecked()
defaults to unchecked.
,
enabled
checked
attributes. In general, if you specify a command file with the
domRequired
function in a toolbar command file.
function in a toolbar command file.
in a toolbar command file. If you do not specify this attribute, it
attribute is optional for other types
file
,
,
value
update
"The toolbar command API" on page
attribute specifies whether the Design view
true
enabled
checked
,
,
domRequired
menuID
file
238.
value. This attribute is
attribute is equivalent
attribute is equivalent to
Item tag attributes
,
235
Need help?
Do you have a question about the DREAMWEAVER 8-EXTENDING DREAMWEAVER and is the answer not in the manual?