Adobe 38040334 - Dreamweaver CS3 User Manual page 183

Extending dreamweaver
Hide thumbs Also See for 38040334 - Dreamweaver CS3:
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
Example
width="150"
menuID="menu_id"
This attribute is required for menu buttons and combo buttons, unless you specify the
associated command file. Dreamweaver ignores the
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
types of items and for color pickers that do not specify an image. If you specify the
weaver displays the color that is currently selected in the color picker in the rectangle, relative to the left or top of the
icon. If you do not specify the
Example
colorRect="0 12 16 16"
file="command_file_path"
Required for pop-up menus and combo boxes. The
attribute specifies the path, relative to the Configuration folder, of a command file that contains JavaScript functions
to populate, update, and execute the item. The
,
,
domRequired
menuID
showIf
attribute, Dreamweaver ignores all the equivalent attributes that are specified in the tag. For more information about
command files, see "The toolbar command API functions" on page 180.
Example
file="Toolbars/MM/EditTitle.htm"
domRequired="true" or "false"
Optional. As with menus, the
with the Code view before Dreamweaver runs the associated command. If you do not specify this attribute, it defaults
to a
value. This attribute is equivalent to the
true
Example
domRequired="false"
attribute, Dreamweaver uses a reasonable default width.
width
menuID
menubar
attribute, Dreamweaver does not display the current color on the image.
colorRect
file
attribute overrides the
file
, and
attributes. In general, if you specify a command file with the
command
attribute specifies whether the Design view should be synchronized
domRequired
isDOMRequired()
attribute for other types of items. This attribute specifies
tag in the menus.xml file.
colorRect
colorRect
attribute is optional for other types of items. The
enabled
function in a toolbar command file.
DREAMWEAVER CS3
Extending Dreamweaver
function in an
getMenuID()
attribute is ignored for other
attribute, Dream-
file
,
,
,
,
checked
value
update
file
177

Advertisement

Table of Contents
loading

This manual is also suitable for:

Dreamweaver cs3

Table of Contents