A Flexible, Lightweight jQuery Lightbox Plugin | inLarge

lightweight-jquery-lightbox-plugin

inLarge is a lightweight and flexible jQuery lightbox plug-in for creating responsive full-screen form windows for displaying images, videos, iframes, and other multimedia content.

How to make use of it:

1. Load the jQuery JavaScript library and jQuery inLarge plug-in.

<script src="/path/to/jquery.min.js"></script>
<script src="/path/to/inLarge.min.js"></script>

2. Create a normal photo lightbox.

<img class="inlarge" src="1.jpg">

3. Configure the lightbox plugin.

$('.inlarge').inLarge();

4. Apply your own styles to the lightbox.

.inlarge { cursor: pointer; }

#inlarge-container {
  background-color: #000;
  background-color: rgba(0, 0, 0, .8);
  display: none;
  height: 100%;
  left: 0;
  overflow: auto;
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
}

#inlarge-close {
  color: #fff;
  font-size: 20px;
  font-family: Helvetica, Arial, Verdana;
  position: fixed;
  right: 12px;
  text-decoration: none;
  top: 10px;
  z-index: 1001;
}

#inlarge-wrapper {
  display: table;
  height: 100%;
  table-layout: fixed;
  width: 100%;
}

#inlarge-inside {
  display: table-cell;
  height: 100%;
  vertical-align: middle;
}

#inlarge-inside img, #inlarge-inside iframe {
  display: block;
  margin: 0 auto;
  max-height: 100%;
}

#inlarge-inside iframe { width: 100%; }

lightweight multimedia modal library, inLarge plugin/github


See Demo And Download

Official Website(justinarmstrongcreative): Click Here

This superior jQuery/javascript plugin is developed by justinarmstrongcreative. For extra advanced usage, please go to the official website.