|File Size:||5.17 KB|
|Official Website:||Go to website|
The VergeGallery jQuery plugin helps you create a photo gallery which allows you view large images in a lightbox popup when clicking on the thumbnails. When the lightbox is opened, navigating to the previous/next image can be achieved by clicking on the next/prev buttons.
How to use it:
1. Add the jQuery VergeGallery plugin's script to the webpage, after you've added jQuery library.
<script src="//code.jquery.com/jquery.min.js"></script> <script src="verge_gallery.js"></script>
2. Add your images into a DIV container as follow.
<div class="gallery"> <img src="1.jpg"> <img src="2.jpg"> <img src="3.jpg"> ... </div>
3. Just call the function and you're done.