Jump to content

Archived

This topic is now archived and is closed to further replies.

mouli

image swop

Recommended Posts

I have a page which includes 4 images pulled from a mysql database. One is large, the other three are thumbnails. When the visitor clicks on a thumnail I'd like the large image to change to the thumnail image, the thumbnail being replaced by the previously large image. (Does that make sense?)
I can set up a swop image behaviour using javascript but because the image source is a php script I need to reload the page when the viewer clicks on the thumnail for the image to appear. This is the part that stumps me?

Any ideas much appreciated.

Many thanks

mouli

Share this post


Link to post
Share on other sites

×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.