Jump to content


Photo

image swop


  • Please log in to reply
No replies to this topic

#1 mouli

mouli
  • Members
  • PipPip
  • Member
  • 23 posts

Posted 06 April 2006 - 01:32 AM

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




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users