|

Inserting a Rollover
In this lesson you will learn how to insert two images to make a rollover
(and a hyperlink) in an HTML file.
- From the Site
Window, open index.html and click on the image to
select it

- Delete the
image (do I have to say press Delete?)
- In the Objects
Panel, click on the Insert Rollover Image icon

- From the Insert
Rollover Image dialog box, click on Browse... (to the right
of Original Image)

- Choose an image
from the images folder in your Local Root Folder

Note: The Open command will inset the first image (called
Original Image in the dialog box)
- Click on Browse...
to the right of Rollover Image

- Dreamweaver automatically
jumps back to where you selected the Original Image
Select your properly named rollover image (just below the original)
and click Open

- The primary purpose
of these Javascript rollovers (besides looking cool) is to provide visual
feedback that lets the viewer know he or she has just encountered a
hyperlink
Click on Browse... (as shown) to insert a hyperlink

- Unlike before, your
HTML pages now appear in the dialog box
Select about_this_site.html and Open
Note: It's much easier (and quicker) to just double-click on the file
you want to select

- Make sure Preload
Rollover Image is checked before you click OK (then click)

- Yikes! Your image
appears looking like:

Don't worry, that's normal
- Click away from the
image (in the document window) and it will look like:

No, the rollover will not work in Dreamweaver
To see it in action you must preview in a browser (F12)
- Use the rollover
(below) to get back to the index page
|