New Software – Sanebox

One of the nice things about being a programmer is that if there isn’t a solution for some problem you have, you’re free to write your own. To that end, I’d like to present Sanebox, a lightbox plugin for jQuery. I initially wrote it for use on my portfolio, but soon decided that others might be able to use it, too. It’s got a few features worth mentioning:

  • You use jQuery selectors to create lightboxes from links.
  • It can display images, Flash video, and HTML 5 video.
  • The plugin was written to make it easy to customize.
  • You can also customize its behavior using callbacks and the plugin’s public methods.

But enought talk, here’s a demonstration. Click any link below to view it at full size:

The online documentation has a lot more info, including an options reference and a description of the methods and callbacks Sanebox allows.

It’s licensed under a Creative Commons license, so you can use it freely in your projects. The only hitch is that the Flash player is only licensed for non-commercial use. That means you have to use it non-commercially unless you also get a commercial license for the Flash player.

Leave a Reply