MouseOver Demonstration
Here is a mouseover demo with 4 states; an initial state, a mouseover, a mousedown, a mouseout.
Here is the pertinent code. In the head we pre-define the images for each state.Javascript Mouseover Demonstration In the body, where we position the initial state of the image, we specify the events.
If you do not want a real link you can use a javascript null action instead:
See an article for a good explanation of a similar rollover approach.
A Webreference article shows how rollover techniques have developed and even how to use CSS2 to create rollovers without images. See our example with changing background images on rollover.