Operation Manual

233
USING DREAMWEAVER
Adding content to pages
Last updated 3/28/2012
5 In the Preferences dialog box, click Make Primary if you want this editor to be the primary editor for this file type.
6 If you want to set up an additional editor for this file type, repeat steps 3 and 4.
Dreamweaver automatically uses the primary editor when you edit this image type. You can select the other listed
editors from the context menu for the image in the Document window.
Add a new file type to the Extensions list
1 Open the File Types/Editors Preferences dialog box by doing one of the following:
Select Edit > Preferences (Windows) or Dreamweaver > Preferences (Macintosh), and select File Types/Editors in
the Category list on the left.
Select Edit > Edit with External Editor and select File Types/Editors.
2 In the File Types/Editors Preferences dialog box, click the Add (+) button above the Extensions list.
A text box appears in the Extensions list.
3 Type the file extension of the file type you want to start an editor for.
4 To select an external editor for the file type, click the Add (+) button above the Editors list.
5 In the dialog box that appears, select the application you want to use to edit this image type.
6 Click Make Primary if you want this editor to be the primary editor for the image type.
Change an existing editor preference
1 Open the File Types/Editors Preferences dialog box by doing one of the following:
Select Edit > Preferences (Windows) or Dreamweaver > Preferences (Macintosh), and select File Types/Editors in
the Category list on the left.
Select Edit > Edit with External Editor and select File Types/Editors.
2 In the File Types/Editors preferences dialog box, in the Extensions list select the file type you are changing to view
the existing editor(s).
3 In the Editors list, select the editor you want to want to affect, then do one of the following:
Click the Add (+) or Delete (–) buttons above the Editors list to add or remove an editor.
Click the Make Primary button, to change which editor starts by default for editing.
Applying behaviors to images
You can apply any available behavior to an image or image hotspot. When you apply a behavior to a hotspot,
Dreamweaver inserts the HTML source code into the
area tag. Three behaviors apply specifically to images: Preload
Images, Swap Image, and Swap Image Restore.
Preload Images Loads images that do not appear on the page right away (such as those that will be swapped in with
behaviors, AP elements, or JavaScript) into the browser cache. This prevents delays caused by downloading when it is
time for the images to appear.
Swap Image Swaps one image for another by changing the SRC attribute of the img tag. Use this action to create button
rollovers and other image effects (including swapping more than one image at a time).
Swap Image Restore Restores the last set of swapped images to their previous source files. This action is automatically
added whenever you attach the Swap Image action to an object by default; you should never need to select it manually.
You can also use behaviors to create more sophisticated navigation systems, such as jump menus.