Changing Menus And Menu Commands - MACROMEDIA DREAMWEAVER 8-EXTENDING DREAMWEAVER Manual

Extending dreamweaver
Table of Contents

Advertisement

Container
This tag must be contained in a
Example
<override name="Quick switch to Hand tool" key="Space"
id="DWTools_Hand_Override" />

Changing menus and menu commands

By editing the menus.xml file, you can move menu commands within a menu or from one
menu to another, add separators to or remove them from menus, and move menus within a
menu bar or even from one menu bar to another.
You can move items into or out of context menus using the same procedure as for other
menus.
For information, see
To move a menu command:
1.
Quit Dreamweaver.
2.
Make a backup copy of the menus.xml file.
3.
Open menus.xml in a text editor such as BBEdit, HomeSite, or Wordpad. (Don't open it
in Dreamweaver.)
4.
Cut an entire
menuitem
5.
Place the insertion point at the new location for the menu command. (Make sure it's
between a
tag and the corresponding
menu
6.
Paste the menu command into its new location.
To create a submenu while moving a menu command:
1.
Place the insertion point inside a menu (somewhere between a
corresponding
/menu
2.
Insert a new
menu
3.
Add new menu commands to the new submenu.
To insert a separator between two menu commands:
Place a
separator/
To remove an existing separator:
Delete the corresponding
tag.
tool
"About the menus.xml file" on page
tag, from the
tag).
tag and
tag pair inside the menu.
/menu
tag between the two
separator/
182.
at the beginning to the
<menuitem
tag.)
/menu
tags.
menuitem
line.
Changing menus and menu commands
at the end.
/>
tag and the
menu
191

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