Image rollovers work by changing an image when the mouse moves over it, and back to the original image when the mouse moves off it.
Code example
Move your mouse over the button to see this script in action, clicking it will reload this page. |
Steps
Off state (button_off.gif) On state (button_on.gif)
Source code [Select all code] |