BoxerJS
· 1 min read

A lightweight jQuery plugin that turns links to images into quick inline previews.
BoxerJS wraps image links so they open as fast previews instead of full page loads. It supports images and HTML snippets loaded over AJAX. See the demo for live examples.
Install
-
Download the files.
-
Copy
boxer.js,boxer.css, andclose.pnginto your project. -
Include
boxer.jsandboxer.css. -
Wrap your target anchors in a container:
<div class="boxer"> <a href="picture1.png" title="this is a picture"> <img src="picture1_thumb.jpg" /> </a> <a href="picture2.png" title="this is another picture"> <img src="picture2_thumb.jpg" /> </a> </div> -
Initialize it:
$(".boxer").boxer();
Role
Sole author. I designed and built the plugin, its preview/overlay behavior, and the AJAX snippet support.
Links