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 |
Get Dreamweaver in a Nutshell now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.