Sometimes you may find that when your mouse rolls over an image, the image will change into another. This change is due to inserting rollover images. Rollover images mean that the original image will become another image when the mouse passes by. In fact rollover images consist of two images—original image and rollover image. The two images must be in the same size. If the rollover image is different from the original image, Dreamweaver8.0 will adjust the size of the second image.

www.Donotyet.com 20091014000 Dreamweaver 8.0 Tutorial -- Put Rollover Images Into Web Pages

The specific steps are as follow.

Step1:

Open the web page you used to build.

www.Donotyet.com 20091014001 Dreamweaver 8.0 Tutorial -- Put Rollover Images Into Web Pages

Step2:

Set focus to the location that needs to be inserted rollover images. Then you can click the menu “INSERT”, choose [image objects]-[rollover image]. There will be an “INSERT ROLLOVER IMAGE” dialog box appearing. Open the dialog box, and click the “Browse” button, at the right of “original image” textbox. Open the “ORIGINAL IMAGE” dialog box.

www.Donotyet.com 20091014002 Dreamweaver 8.0 Tutorial -- Put Rollover Images Into Web Pages

Step3:

In the dialog box, choose the original image, click “OK” button and put the image into the textbox. Click the “browse” button, at the right of the “rollover image” button, and open the “rollover image” dialog box.

Step4:

Choose the rollover image in the “rollover image” dialog box, and click “OK” button to put the image into the textbox. Choose the check box “preload rollover image”.

Srep5:

Click “OK”, and insert the rollover image.

The properties of the “INSERT ROLLOVER IMAGE” dialog box are as the following words showing:

[Image name]: the name of the image of mouse passing.

[Original image]: default image.

[Rollover image]: the image of mouse passing-by

[Alternate text]: the words before images appear.

[When clicked, go to URL]: when the mouse clicks the location of the images, the link will affect.

Step6:

Save the html. Press <F12> to preview the impact in the Internet Explorer. The image before mouse passing is like picture1, and rollover image is like picture2.

Pic1:

www.Donotyet.com 20091014003 Dreamweaver 8.0 Tutorial -- Put Rollover Images Into Web Pages

Pic2:

www.Donotyet.com 20091014004 Dreamweaver 8.0 Tutorial -- Put Rollover Images Into Web Pages

In the end, a rollover image is OK.

For help, advice, tips and tricks, challenges, feel free to visit ourDoNotYet forum or Submit your good resource to share.

Reminder: Unless stated otherwise, all resources published on this site are NOT for commercial use. To use any resource from this site for commercial purposes, please contact the author.

Related Posts