Skip to content Skip to sidebar Skip to footer

Clicking On A Picture Thumbnail And Expanding To The Center With Javascript

I don't know the best way to ask this, but I will give it a try. I have thumbnails of 3 photos corresponding to peoples bios. I am trying to have the thumbnails listed by the bios

Solution 1:

The term is a lightbox. There any many jQuery lightbox plugins. I've had great experience with FancyBox.

To use them, you could target all anchor tags which have direct children img tags, for instance:

$('a:has(img)').fancybox();

Post a Comment for "Clicking On A Picture Thumbnail And Expanding To The Center With Javascript"