Creating the text box

To add a toolbar to Adobe Dreamweaver, you place an XML file that contains the toolbar definition in the Toolbars folder inside the Adobe Dreamweaver Configuration folder.

The following figure shows the Title text box:

This is a picture of the feature being described.

The following toolbar editcontrol item defines a text box that is labeled Title:

<EDITCONTROL ID="DW_SetTitle" label="Title: " tooltip="Document Title" width="150" file="Toolbars/MM/EditTitle.htm"/>

The tooltip attribute causes Adobe Dreamweaver to display Document Title in a tooltip box when the user places the mouse pointer over the text box. The width attribute specifies the size of the field in pixels. The file attribute specifies that the EditTitle.htm file contains the JavaScript functions that operate on the text box. To see the full definition of the Adobe Dreamweaver Document toolbar, see the main toolbar (id="DW_Toolbar_Main") in the toolbars.xml file.