I would be grateful if anyone could help me with a small jquery problem. I have no knowledge in writing jquery back am proficient in HTML CSS and implementing jquery plugins.
I am building a gallery page to this web site. Currently i have got a row of thumbnails in a jquery carosel that works perfectly.
HERES WHAT I NEED:
When the user clicks a thumbnail i want its large image to cross fade over the top of the large image that is currently on the stage (the first thumbnail).
Im sure this is simple enough for anyone who has a basic knowledge of writing jquery.
Here is my current source code.
http://www.silverbackstudios.co.uk/laurenmitchell/wedding-gallery.html
Thank you for your help!
Jarrett
First you need to add an ID to your big image
After that I’d change the names of the images so that the large image and the thumbnail both have the same name but are put in different folders, like this:
When that’s done you can add the following JQuery code
…and the following CSS rule
What this code does is that it adds an overlay containing the large version of the clicked thumb image and fades it in. When that’s done it changes the search path of the original image (#gallery-big) and then removes the overlay.
It might not the best solution, but it should do the job 🙂