stupidbox is a super tiny, CSS-less jQuery plugin which allows you to display your image as a background in a fullscreen, unobtrusive modal window with one JS call.
How to use it:
<script src="jquery.min.js"></script> <script src="jquery.stupidbox.js"></script>
2. Wrap the thumbnails into
a links which point to the large version of your images.
<a href="1.jpg"> <img src="thumb-1.jpg"> </a> <a href="2.jpg"> <img src="thumb-2.jpg"> </a> ...
3. Call the
stupidbox() method on the
a tag and we're done.
- Add stupid closing icon. Just X letter.