- Overview
- Documents
Lighterbox is a lighterweight lightbox gallery module. A simple plugin supporting modern mobile and desktop browsers to minimize configuration and hacky code. Customizable.
Source: github.com
Aug 31, 2014 in Lightbox 4146 views
Lighterbox is a lighterweight lightbox gallery module. A simple plugin supporting modern mobile and desktop browsers to minimize configuration and hacky code. Customizable.
Source: github.com
1. INCLUDE JS FILES
<script src="https://code.jquery.com/jquery-1.11.1.min.js"></script> <script src="js/jquery.lighterbox.0.0.2.min.js"></script>
2. HTML
<a href="https://s3.amazonaws.com/hensonism-art/paul-gauguin/gaugin3.jpg" class="lighterbox"> <img src="https://s3.amazonaws.com/hensonism-art/paul-gauguin/thumbs/gaugin3.jpg" /> <h2 class="lighterbox-title">Painting by Paul Gaugin</h2> <span class="lighterbox-desc">Oil on Canvas</span> </a>
3. JAVASCRIPT
$(".lighterbox").lighterbox({ overlayColor : "white" });
4. OPTIONS
Tagged with:
lighterbox
gallery module
image gallery
lighterweight gallery
mobile browsers
responsive
lightbox
lightbox gallery
Related Articles