Skip to content

Commit

Permalink
Added a third gallery to the groups demo with only one image.
Browse files Browse the repository at this point in the history
  • Loading branch information
duncanmcdougall committed Sep 24, 2014
1 parent 0d68d68 commit dc311da
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion demo/groups.html
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,10 @@ <h2>Group 2</h2>
<li><a href="http://lorempixel.com/1024/768/nature/3/"><img src="http://lorempixel.com/150/150/nature/3/" alt="Image"></a></li>
<li><a href="http://lorempixel.com/900/1200/nature/4/"><img src="http://lorempixel.com/150/150/nature/4/" alt="Image"></a></li>
</ul>
<h2>Group 3</h2>
<ul class="gallery gallery3">
<li><a href="http://lorempixel.com/500/500/sports/1/"><img src="http://lorempixel.com/150/150/sports/1/" alt="Image"></a></li>
</ul>
<footer>
<p>Lightbox Plugin and photos by <a href="http://www.twitter.com/duncanmcdougall">Duncan McDougall</a></p>
</footer>
Expand All @@ -54,8 +58,9 @@ <h2>Group 2</h2>
<script>
// Initiate Lightbox
$(function() {
$('.gallery1 a').lightbox();
$('.gallery1 a').lightbox();
$('.gallery2 a').lightbox();
$('.gallery3 a').lightbox();
});
</script>
</body>
Expand Down

0 comments on commit dc311da

Please sign in to comment.