PDA

View Full Version : JS: rollover problems with OnMouse event handlers


darqstar
03-12-2003, 03:53 PM
I am trying to write a javascript rollover but am having a few problems...

Let's say the image in question is called "Image1". When you move your cursor over it, "Image2" is shown. When you move your mouse away, "Image1" reappears.

Herein lies the rub. :eek:

When you click on the image, I would like "Image2" to stay in place of "Image1" until a different button is clicked.

Is this possible? Am I being slightly moronic? :rolleyes: Any help would be greatly appreciated.:thumbsup:

cheesebagpipe
03-12-2003, 11:08 PM
http://www.codingforums.com/showthread.php?threadid=15799

darqstar
03-12-2003, 11:44 PM
Thanks for your help, problem solved:)