"TEST: responsive LightBox"
Bootstrap 3.3.0 Snippet by grandik

<link href="//maxcdn.bootstrapcdn.com/bootstrap/3.3.0/css/bootstrap.min.css" rel="stylesheet" id="bootstrap-css"> <script src="//maxcdn.bootstrapcdn.com/bootstrap/3.3.0/js/bootstrap.min.js"></script> <script src="//code.jquery.com/jquery-1.11.1.min.js"></script> <!------ Include the above in your HEAD tag ----------> <script src="https://osvaldas.info/examples/image-lightbox-responsive-touch-friendly/imagelightbox.js"></script> <script> $( function() { // alert('hi keegan'); $( 'a.light' ).imageLightbox(); }); </script> <div class="container"> <div class="row"> <h2>Responsive Lightbox</h2> <a class="light" href="https://osvaldas.info/examples/image-lightbox-responsive-touch-friendly/full/10.jpg" data-imagelightbox="c"><img src="https://osvaldas.info/examples/image-lightbox-responsive-touch-friendly/thumb/10.jpg" alt="Sunset over Plateliai lake"></a> <a class="light" href="https://osvaldas.info/examples/image-lightbox-responsive-touch-friendly/full/10.jpg" data-imagelightbox="c"><img src="https://osvaldas.info/examples/image-lightbox-responsive-touch-friendly/thumb/10.jpg" alt="Sunset over Plateliai lake"></a> <a class="light" href="https://osvaldas.info/examples/image-lightbox-responsive-touch-friendly/full/10.jpg" data-imagelightbox="c"><img src="https://osvaldas.info/examples/image-lightbox-responsive-touch-friendly/thumb/10.jpg" alt="Sunset over Plateliai lake"></a> <a class="light" href="https://osvaldas.info/examples/image-lightbox-responsive-touch-friendly/full/10.jpg" data-imagelightbox="c"><img src="https://osvaldas.info/examples/image-lightbox-responsive-touch-friendly/thumb/10.jpg" alt="Sunset over Plateliai lake"></a> <a class="light" href="https://osvaldas.info/examples/image-lightbox-responsive-touch-friendly/full/10.jpg" data-imagelightbox="c"><img src="https://osvaldas.info/examples/image-lightbox-responsive-touch-friendly/thumb/10.jpg" alt="Sunset over Plateliai lake"></a> <hr> Best viewed <a href="http://bootsnipp.com/iframe/m0jOZ" target="_blank">full screen</a> : <a href="http://validator.w3.org/check?uri=http%3A%2F%2Fbootsnipp.com%2Fiframe%2Fm0jOZ" target="_blank"><small>HTML</small><sup>5</sup></a> </div> </div>
#imagelightbox { position: fixed; z-index: 9999; -ms-touch-action: none; touch-action: none; }

Related: See More


Questions / Comments: