Width="Number; Menuid="Menu_Id; Colorrect="Left Top Right Bottom; File="Command_File_Path - MACROMEDIA DREAMWEAVER MX 2004-EXTENDING DREAMWEAVER Manual

Extending dreamweaver
Hide thumbs Also See for DREAMWEAVER MX 2004-EXTENDING DREAMWEAVER:
Table of Contents

Advertisement

width="number"

Optional. This attribute applies only to text box, pop-up menu, and combo box items by
specifying the width of the item in pixels. If you do not specify the
uses a reasonable default width.
Example
width="150"

menuID="menu_id"

This attribute is required for menu buttons and combo buttons, unless you specify the
function in an associated command file. Dreamweaver ignores the
getMenuID()
for other types of items. This attribute specifies the ID of the menu bar that contains the context
menu to pop up when the user clicks the button, menu button, or combo button. The ID comes
from the ID attribute of a
Example
menuID="DWCodeNavPopup"

colorRect="left top right bottom"

This attribute is optional for color pickers that have an image attribute. The
is ignored for other types of items and for color pickers that do not specify an image. If you
specify the
colorRect
color picker in the rectangle, relative to the left or top of the icon. If you do not specify the
attribute, Dreamweaver does not display the current color on the image.
colorRect
Example
colorRect="0 12 16 16"

file="command_file_path"

Required for pop-up menus and combo boxes. The
items. The
file
file that contains JavaScript functions to populate, update, and execute the item. The
attribute overrides the
attributes. In general, if you specify a command file with the
command
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
synchronized with the Code view before Dreamweaver runs the associated command. If you do
not specify this attribute, it defaults to a
isDOMRequired()
Example
domRequired="false"
184
Chapter 9: Toolbars
tag in the menus.xml file.
menubar
attribute, Dreamweaver displays the color that is currently selected in the
attribute specifies the path, relative to the Configuration folder, of a command
,
enabled
checked
"The toolbar command API" on page
domRequired
function in a toolbar command file.
attribute is optional for other types of
file
,
,
,
value
update
domRequired
attribute specifies whether the Design view should be
value. This attribute is equivalent to the
true
attribute, Dreamweaver
width
menuID
attribute
colorRect
file
,
,
menuID
showIf
attribute,
file
187.
attribute
, and

Advertisement

Table of Contents
loading
Need help?

Need help?

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

Questions and answers

This manual is also suitable for:

Dreamweaver mx 2004

Table of Contents