
18
name A name for the command executed by the keyboard shortcut, in the style of a menu item
name. For example, the
name attribute for the F12 shortcut is "Preview in Primary Browser".
Contents
None (empty tag).
Container
This tag must be contained in a shortcutlist tag.
Example
<shortcut key="Cmd+Shift+Z" file="Menus/MM/Edit_Clipboard.htm"
arguments="’redo’" id="DWShortcuts_Edit_Redo" />
Customizing code hints
To customize the code hints pop-up menus in Dreamweaver, edit the CodeHints.xml file. In
general, you modify this file by writing an extension rather than by editing the file by hand; for
more information, see Extending Dreamweaver (Help > Extending Dreamweaver).
Customizing default documents
The DocumentTypes/NewDocuments folder contains a default (blank) document of each type
that you can create using Dreamweaver. When you create a new blank document by choosing File >
New and selecting an item from the Basic Page, Dynamic Page, or Other categories, Dreamweaver
bases the new document on the appropriate default document in this folder. To change what
appears in a default document of a given type, edit the appropriate document in this folder.
Note: If you want all the pages in your site to contain common elements (such as a copyright notice) or a common
layout, it’s better to use templates and library items than to change the default documents. For more information on
templates and library items, see Dreamweaver Help (Help > Using Dreamweaver).
Customizing page designs
Dreamweaver provides a variety of predesigned CSS style sheets, framesets, and page designs. You
can create pages based on these designs by choosing File > New.
To customize the available designs, edit the files in BuiltIn/css, BuiltIn/framesets, BuiltIn/
Templates, and BuiltIn/TemplatesAccessible. Note that the designs listed in the Page Designs and
Page Designs (Accessible) categories are actually Dreamweaver template files; for more
information on templates, see Dreamweaver Help (Help > Using Dreamweaver).
You can also create your own page designs by adding files to the subfolders of the BuiltIn folder.
To make a description of the file appear in the New Document dialog box, create a Design Notes
file (in the appropriate _notes folder) corresponding to the page design file.
Creating and modifying toolbars
You can rearrange or delete items in the toolbars provided with Dreamweaver (such as the
Document toolbar and the Standard toolbar) by editing the Toolbars/toolbars.xml file.
To create a new toolbar, you generally need to create both XML files to specify the controls in the
toolbar, and commands to perform the associated actions.
For more information about creating toolbars and editing the toolbars.xml file, see Extending
Dreamweaver (Help > Extending Dreamweaver).
Komentáře k této Příručce