简体   繁体   中英

Expanding images dynamically in a modal pop-up

I'm about to start working on a portfolio page where the gallery consists of four tabs.

In each tab, there will be three portfolio samples.

When clicked upon, I want the image in question to expand in a modal pop-up.

I'd be grateful if anyone could point me in the direction of a jQuery plugin that could handle this dynamically, ie the image on the gallery is the same one that is expanded.

That's all and many thanks in advance!

Easiest and best one that I've used. All you need to do is wrap your image in a link element and use a jQuery selector to fire the plugin.

http://fancybox.net/

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM