PDA

View Full Version : Put your mouse over and image, make a different image change, help


Slinx
May 2nd, 2008, 06:47 PM
I have a website that i'm currently building for hot tubs..

They have 3 colors for a hot tub, so basically on the site, their is a image of a hot tub, bellow there is 3 small texture color, those 3 colors are the 3 colors that the hot tub can be in.

So with that said, I want visitors of the site be able to just put the mouse over one of the 3 small color sample, and that will make the other big hot tub change color so they can have a preview.

If a mouse overlay is not possible, a simple click on the image would do that job.

So I already have a code that when someone goes over a image it will bring a pop up message, so I think I could probably modified it but i'm not sure how, I'm using JavaScript btw.

Any suggestions?