
Customizing Dreamweaver
517
5
Give your icon the same file name as your object file, but use .gif as the
extension; then save the icon in the same directory as the object file.
For example, if your object is called Copyright_Z.htm and you saved it in the
Common directory, name your icon Copyright_Z.gif and save it in the
Common directory as well.
6
Restart Dreamweaver, or reload extensions, to use your new object.
The object appears at the bottom of the Insert menu as well as on the Objects
panel. (For information on reloading extensions, see “Modifying the Objects
panel” on page 515.)
About customizing Dreamweaver menus
Dreamweaver creates all of its menus from the structure defined in an XML file
called menus.xml, in the Configuration/Menus subfolder of the Dreamweaver
application folder. Editing the menus.xml file changes the Dreamweaver menus
the next time you start Dreamweaver. (For basic information about XML, see
“About XML” on page 394.)
By editing the menus.xml file, you can add, change, and remove keyboard
shortcuts for menu items, though in most cases it’s easier to do that using the
Keyboard Shortcut Editor. (See “Using the Keyboard Shortcut Editor” on page
90.) You can also rearrange, rename, and remove menu items.
If you open menus.xml in an XML editor, you may see error messages regarding
the ampersands (&) in the menus.xml file. It’s best to edit menus.xml in an
ordinary text editor. (Don’t edit it in Dreamweaver.)
Note:
Always make a backup copy of the current menus.xml file, or any other
Dreamweaver configuration file, before you modify it. It’s easy to make mistakes in editing
the menu configuration file, and there’s no way to revert to a previous set of menus other
than replacing the menus.xml file. In case you forget to make a backup, though, the
Configuration folder contains a backup of the default menus.xml file, called menus.bak; to
revert to the default menu set, replace menus.xml with a copy of menus.bak.
Содержание 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...