Add fullscreen lightbox on slideshow image click
This commit is contained in:
@@ -14,6 +14,7 @@
|
||||
<script type="text/javascript" src="js/bestpic.js"></script>
|
||||
<script type="text/javascript" src="js/image_manifest.js"></script>
|
||||
<script type="text/javascript" src="js/uploader.js"></script>
|
||||
<script type="text/javascript" src="js/lightbox.js"></script>
|
||||
|
||||
<!-- We only want the thunbnails to display when javascript is disabled -->
|
||||
<script type="text/javascript">
|
||||
@@ -74,6 +75,13 @@
|
||||
</div>
|
||||
</div>
|
||||
<div id="footer">© 2009 Trent Foley</div>
|
||||
<div id="lightbox" class="lightbox" style="display:none;" aria-hidden="true">
|
||||
<div class="lightbox-backdrop"></div>
|
||||
<button id="lightbox-close" class="lightbox-close" type="button" aria-label="Close">×</button>
|
||||
<div class="lightbox-content" role="dialog" aria-modal="true">
|
||||
<img id="lightbox-img" alt="" />
|
||||
</div>
|
||||
</div>
|
||||
<script type="text/javascript">
|
||||
// Build thumbs + init gallery after DOM is ready (and after bestpic.js runs).
|
||||
jQuery(function() {
|
||||
|
||||
Reference in New Issue
Block a user