dimsemenov / Magnific-Popup

Light and responsive lightbox script with focus on performance.
http://dimsemenov.com/plugins/magnific-popup/
MIT License
11.39k stars 3.49k forks source link

Inline Lightbox Gallery how to specify item in array from html link #416

Open buzzguy opened 10 years ago

buzzguy commented 10 years ago

Hi, Love the lightbox plugin! Wanted to use this example: http://codepen.io/dimsemenov/pen/sHoxp

but instead of having one button, I'd like to have multiple buttons for each inline element (like a gallery). For example, How would I create a second button that would open data array item 2 (paul irish)? Is there a way to specify from the button link? thanks!

nathanielperales commented 4 years ago

Did you ever figure this out?