O'Reilly logo

Dreamweaver in a Nutshell by Bruce A. Epstein, Heather Williamson

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Customizing Dreamweaver Dialog Boxes

Dreamweaver dialog boxes are created using HTML forms stored in the Dreamweaver4/Configuration/C ommands directory. You can modify these HTML files to alter the appearance of Dreamweaver’s dialog boxes permanently. Alterations to these dialog boxes are reflected across all Dreamweaver sites.

Table 20-1 lists the files used to implement many of Dreamweaver’s menu options. JavaScript within the HTML file, and in external .js files, controls the dialog boxes’ functionality. You can edit these files to change the appearance and behavior of Dreamweaver’s dialog boxes and menu commands. Most of these files are stored in the Dreamweaver4/Configuration/C ommands directory. Files whose paths begin with Shared are located in the Dreamweaver4/Configuration/Shared directory and are used by multiple dialog boxes.

Table 20-1. Dialog box HTML and JS files

Menu command or dialog box

HTML and JS files used

File Save

_afterSave.htm

_beforeSave.htm

File Open

_onOpen.htm

Commands Add/Remove Netscape Resize Fix

Add Remove NS Resize Fix.htm

addNSResizeFix.htm

Add Remove NS Resize Fix.js

Shared/MM/Scripts/CMN/localText.js

Shared/MM/Scripts/CMN/DOM.js

Alert dialog boxes

AlertDS.htm

AlterDS.js

Commands Apply Source Formatting

Apply Source Formatting.htm

Source Formatting.js

Commands Check Page for Accessibility

Check for Accessibility.htm

Check for Accessibility.js

Commands Clean Up HTML

Clean Up HTML.htm

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required