CHAPTER 9
Toolbars
You can create a toolbar for Macromedia Dreamweaver 8 simply by creating a file that defines
the toolbar and placing that file in the Configuration/Toolbars folder. Within a toolbar file,
you can define items such as check buttons, radio buttons, text boxes, and pop-up menus
using a few custom XML tags. You can assign attributes and commands to toolbar items to
specify how they look and behave, include other toolbar files, and reference toolbar items that
are defined in other toolbars.
The following table lists the files you use to create a toolbar:
Path
Configuration/Toolbars/
Configuration/Toolbars/
Configuration/Toolbars/
Configuration/
Commands/
How toolbars work
Toolbars are defined by XML and image files that are stored in the Toolbars folder of the main
Dreamweaver Configuration folder. The default Dreamweaver toolbars are stored in the
toolbars.xml file in the Configuration/Toolbars folder. When Dreamweaver starts, it loads all
the toolbar files in the Toolbars folder. You can add new toolbars simply by copying a file into
the Toolbars folder rather than modifying the original toolbars.xml file.
Toolbar XML files define one or more toolbars and their toolbar items. A toolbar is a list of
items such as buttons, text boxes, pop-up menus, and so on. A toolbar item represents a single
control that a user can access in a toolbar.
File
toolbars.xml
newtoolbar.xml
imagefile.gif
MyCommand.htm
Description
Edit this file to change the contents of
the toolbar.
Create this file to create a new toolbar.
Icon image for toolbar control.
Command file associated with toolbar
item.
9
215
Need help?
Do you have a question about the DREAMWEAVER 8-EXTENDING DREAMWEAVER and is the answer not in the manual?
Questions and answers