Scripts » Rollover




1. Copy the following script into the <HEAD> tags of your page.



2. Replace the img1.gif and img2.gif with the two images you want to use for the rollover. The first image will be the one people see regularly. The second image will be the one people see when they hover over the image with their mouse.

3. Copy the following code and use it in place of the normal image script <img src="">.



4. Make sure you change the img1.gif in this second script.

Example:

I changed
img1.gif to images/monkey.gif
img2.gif to images/penguin.gif



 
 

All content copyright their respective owners. No copyright infringement is intended, and no money is being made.