Swapping Multiple Images with One Event

You can create more complex interactions with visitors by applying multiple actions to a single event. For example, you can have several images swap from their original images to their rollover images at the same time as a result of the same event. This technique might be used to cause two images to swap out, each from their original image to the rollover image, when the user rolls over one button.

In this exercise, you will apply a behavior to the meditation graphic, which causes the spacer image that exists below it to swap to another image as the user rolls over the initial graphic. For the additional rollover to occur using the same event, you will edit the existing Swap Image action and define the ...

Get macromedia Dreamweaver 8 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.