Skip to content

Latest commit

 

History

History
42 lines (27 loc) · 1.11 KB

README.md

File metadata and controls

42 lines (27 loc) · 1.11 KB

Flashy - jQuery Lightbox & Popup Plugin

Yet another responsive jQuery lightbox and popup plugin, support images, inline contents, iframes, vimeo and youtube videos.

Video

Quick start

Static HTML

Insert the required stylesheet at the header of your HTML document:

<link rel="stylesheet" href="/flashy/flashy.min.css" />

Insert the script at the footer of your document:

<script src="/jquery/jquery.js"></script>
<script src="/flashy/jquery.flashy.min.js"></script>

Usage

Insert one or more links with its your own custom class

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

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

$(document).ready(function(){
  $('.gallery').flashy(); 
});

License

Released under the MIT License