lightbox question
Out of context: Reply #5
- Started
- Last post
- 6 Responses
- acrossthesea0
You kinda lost me when you mentioned adding links in illustrator but I think you're over-thinking this a bit. Take a look at the Elser creative link you mentioned earlier and see how they're going about this. Looks like they are wrapping a link around around the thumbnail image. When you click on this, it will launch lightbox. Lightbox will then associate any other <a hrefs> on the page with the same rel="lightbox[pandas]" and show them as a set.
For the other images in the set that are not thumbnails, just write the full <a href> code with the rel="lightbox[pandas]" and don't put anything between <a> and </a>. This won't show up on the page, but lightbox will see these as additional items in your set.
<a href="image-1.jpg" rel="lightbox[pandas]">IMG THUMBNAIL GOES HERE</a>
<a href="image-2.jpg" rel="lightbox[pandas]">LEAVE THIS SPACE EMPTY</a>
<a href="image-3.jpg" rel="lightbox[pandas]">LEAVE THIS SPACE EMPTY</a>