Customizing Dreamweaver > Customizing the appearance of dialog boxes

 

Customizing the appearance of dialog boxes

The dialog box layouts for objects, commands, and behaviors are specified as HTML forms; they reside in HTML files in the Configuration folder within the Dreamweaver application directory. You edit those forms just as you would edit any form in Dreamweaver; see Forms overview.)

To change the appearance of a dialog box:

1 Find the appropriate .htm file in Configuration/Objects, Configuration/Commands, or Configuration/Behaviors.
2 Make a copy of the file, somewhere other than the Configuration folder.
3 Open the copy in Dreamweaver, edit the form, and save it.
4 Quit Dreamweaver.
5 Copy the changed file back to the Configuration folder, in place of the original. (It's a good idea to first make a backup of the original, so you can restore it later if you need to.)
6 Start Dreamweaver again to see the changes.

You should change only the appearance of the dialog box, not how it works; it still must contain the same types of form elements with the same names, so that the information Dreamweaver obtains from the dialog box can still be used in the same way.

For example, the Comment object takes text input from a text area in a dialog box, then uses a simple JavaScript function to turn that text into an HTML comment and insert the comment into your document. The form that describes the dialog box is in Configuration/Objects/Invisibles/Comment.htm. You can open that file and change the size and other attributes of the text area, but if you remove the textarea tag entirely, or change the value of its name attribute, the Comment object will no longer work properly.