beautypg.com

Applying behaviors to images – Adobe Dreamweaver CC 2014 v.13 User Manual

Page 684

background image

Twitter™ and Facebook posts are not covered under the terms of Creative Commons.

Legal Notices

|

Online Privacy Policy

To the top

Preload Images

Swap Image

Swap Image Restore

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.

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.

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).

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.

677

This manual is related to the following products: