skip ahead to content

we love web standards, css, html, actionscript, php, javascript, accesibility and usability

« CL, CSS Navigation and How to Waste an Afternoon jQuery Image Swap »

slightestBox (lightbox/litebox replacement)

Sometimes I like to share artwork or photos with the readers of my site but I loathe manual entry of classes or relevance tags. So I modified the php script from Slimbox by Hardi P. This will automatically add rel=”imagebox[set]“ on image links. Now powered by jQuery (instead of moo.fx).

Why would you use jQuery instead of (insert name of your favorite script library)?
I prefer jQuery to most other script libraries as it can be used for everything you’d need. It may be a bit heavier (20k compressed) but the cross browser support is fantastic. Plus if 20k in javascript is too heavy for your site, you should probably revise your page assets (images, flash, inline scripting, etc). Enough ranting here are some examples of this plugin in action.

Text link examples:

Alex and her purposely blurred roommate | Oh many a night we play around the halls of Goathill Tavern | Lindsey at Goathill

Image link examples:

Release Notes and Download

As this was made in one afternoon and made for fun the image set is for any image links on the page (I will fix this later) In the download package just drag and drop the folder into your wordpress plugins folder and that should take care of it.

download without jQuery included
download with jQuery included

If you use it please credit me somewhere and/or leave a comment here! Please don’t directly link to my script!

UPDATE: further development has ceased on this project as since its inception there have been great advances by other developers offering a standalone and Wordpress plugin that works fantastically! Check out Lytebox (standalone) or WP-Lytebox (WordPress Plugin for version 1.5+)

Saturday, June 2nd, 2007 at 7:31 pm and is filed under css, i came as a rant, wordpress plugins. You can follow any responses to this entry through the RSS 2.0 feed. Both comments and pings are currently closed.

Comments are closed.