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 a navigation bar
or a jump menu.