I have an image rollover, and I want to disable the onMouseOut behavior if onClick is true (in other words, if the user clicks an image, when the mouse moves out it doesn't switch the highlighted button back to dim).
The page in question is here:
The client wanted all images to be on one page, so making multiple pages for each image, while it would solve the problem, isn't an option. Notice how when the buttons on the left are rolled over, they highlight, when rolled out, they dim. When one is clicked, it changes the image in the center; it should stay highlighted when the mouse rolls out.
I'm guessing there's an if/then statement that needs to be written, like "If the image is clicked, change all other images to the up state and don't do anything onMouseOut to the current image". Any suggestions as to how to write something like this?