Download
User Rating: 0.2/5 ( 1 votes)
Fluidbox - Replicating and improving the lightbox module seen on Medium with fluid transitions
Opening images seamlessly in a lightbox on your page without interruption. This demo was inspired by how Medium handles embedded images. This project was originally initiated as a personal challenge to replicate Medium"s lightbox module, but it soon developed into a full-fledged jQuery plugin.
1. INCLUDE CSS AND JS FILES
<link type="text/css" href="./css/fluidbox.css" media="all" rel="stylesheet" />
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1/jquery.min.js"></script>
<script type="text/javascript" src="jquery.fluidbox.min.js"></script>
2. HTML
<a href="...">
<img src="..." alt="" />
</a>
3. JAVASCRIPT
$(function () {
$("a").fluidbox();
});
4. CONFIGURATION
Several options are available for configuration: