
Customizing Macromedia Dreamweaver MX 11
4 Cut an entire menuitem tag, from the <menuitem at the beginning to the /> at the end.
5 Place the insertion point at the new location for the menu item. (Make sure it’s between a
<menu> tag and the corresponding </menu> tag.)
6 Paste the menu item into its new location.
To create a submenu while moving a menu item:
1 Place the insertion point inside a menu (somewhere between a <menu> tag and the
corresponding </menu> tag).
2 Insert a new <menu></menu> pair inside the menu.
3 Add new menu items to the new submenu.
To insert a separator between two menu items:
• Enter <separator /> between the two menuitem tags.
To remove an existing separator:
• Delete the corresponding <separator /> line.
To move a menu:
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 menu and its contents, from the opening <menu> tag to the closing </menu> tag.
5 Place the insertion point at the new location for the menu. (Make sure it’s between a
<menubar> tag and the corresponding </menubar> tag.)
6 Paste the menu into its new location.
Changing the name of a menu item or menu
You can easily change the name of any menu item or menu by editing the menus.xml file. For
more information, see “About menus.xml tag syntax” on page 13.
To change the name of a menu item or menu:
1 Quit Dreamweaver.
2 Make a backup copy of the menus.xml file.
3 Open menus.xml in a text editor such as HomeSite, BBEdit, or Wordpad (don’t open it
in Dreamweaver).
4 If you’re changing a menu item, find the appropriate menuitem tag, and change the value of its
name attribute. If you’re changing a menu, find the appropriate menu tag, and change the value
of its
name attribute. In either case, do not change the id attribute.
5 Save and close menus.xml; then start Dreamweaver again to see your changes.
Comentários a estes Manuais