Mouse sensitive buttons
Click HERE to return to
Javascript main page

                               

Mouse sensitive images and buttons

click here!
This ONLY works using Netscape 3, because Microsoft's Internet Explorer doesn't yet support javascript arrays used in this example.

It works quite simply:
When the mouse moves over the image a function called change_image is called. This function changes the image[1] which in this case is the second image on the page (The background image being the first). When the mouse moves out of the image area a function called normal_image is called which changes the image back to Garfield.