
Chapter 22
520
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 information about the syntax of the menus.xml file, see
“About menus.xml tag syntax” on page 522.
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.
Note:
In either case, do not change the
id
attribute.
5
Save and close menus.xml; then start Dreamweaver again to see your changes.
Содержание 38028779 - Macromedia Dreamweaver - Mac
Страница 1: ...macromedia Using Dreamweaver...
Страница 148: ...Chapter 4 148...
Страница 296: ...Chapter 12 296...
Страница 472: ...Chapter 18 472...
Страница 512: ...Chapter 21 512...
Страница 562: ...Appendix 562...