A repository of over 1000 quality jQuery plugins

jQuery VenoBox

VenoBox is a jQuery Dialogs / Lightboxes plugin.

Created by Nicolafranchini

responsive jQuery lightbox plugin

Not what you're looking for? Click here to view more Dialogs / Lightboxes jQuery plugins

VenoBox

Responsive jQuery modal window plugin

Just another responsive jQuery lightbox plugin, suitable for images, inline contents, iFrames, Google Maps, Vimeo and YouTube videos.

The big difference compared to many others plugins like this is that VenoBox calculates the max width of the image displayed and preserves its height if is taller than the window (so in small devices you can scroll down the content, avoiding vertical microscopic resized images).

Demo: http://veno.es/venobox/

Quick start

Install

This package can be installed with:

  • npm: npm install venobox
  • bower: bower install venobox

Or download the latest release.

License: released under the MIT License

Static HTML

Put the required stylesheet at the top of your markup:

<link rel="stylesheet" href="/node_modules/venobox/venobox/venobox.css" />
<link rel="stylesheet" href="/bower_components/venobox/venobox/venobox.css" />

Put the script at the bottom of your markup right after jQuery:

<script src="/node_modules/jquery/dist/jquery.js"></script>
<script src="/node_modules/venobox/venobox/venobox.min.js"></script>
<script src="/bower_components/jquery/dist/jquery.js"></script>
<script src="/bower_components/venobox/venobox/venobox.min.js"></script>

Usage

Insert one or more links with its custom class

<a class="venobox" href="image01-big.jpg"><img src="image01-small.jpg" alt="image alt"/></a>

Call the plugin function and your VenoBox is ready for all the selected links.

$(document).ready(function(){
  $('.venobox').venobox(); 
});

Documentation

The full documentation is available at http://veno.es/venobox/

License: released under the MIT License



You might also like these other Dialogs / Lightboxes jQuery Plugins

  • interceptjs

    jQuery Plugin to Handle ‘Call to Action’ Intercepts

  • marginotes

    Quick, cool margin notes with jQuery

  • MediumLightbox

    Nice and elegant way to add zooming functionality for images, inspired by medium.com

License:

The MIT License (MIT)