User Guide

196 Chapter 9: Toolbars
Until the user enters a title for the document, the getTitle() function returns Untitled
Document, which appears in the text box. After the user enters a title, the
getTitle() function
returns that value, and Dreamweaver displays it as the new document title.
Placing the files in the Toolbars folder
To add a toolbar to Dreamweaver, place the XML file that contains the toolbar definition in the
Toolbars folder inside the Dreamweaver Configuration folder. To see the full definition of the
Dreamweaver Document toolbar, see the main toolbar (
id="DW_Toolbar_Main") in the
toolbars.xml file. To see the complete HTML file that contains the JavaScript functions for the
Document Title text box, see the EditTitle.htm file in the Toolbars/MM folder.
Note: The MM folder is reserved for Macromedia files. Create another folder inside the Toolbars
folder, and place your JavaScript code in that folder.