Sweet Lightbox2 Javascript and CSS Code
Just ran across the latest version of the really cool Lightbox Javascript and CSS widget by Lokesh Dhakar today. It lets you link to an image or set of images that appear in a highlighted box while the page in the background is dimmed. It’s a great way to showcase an image on a web page. It’s easy to use and not too difficult to setup on your site. There’s even a nice WordPress plugin by Safirul Alredha. Also check out Leightbox by Simon de Haan, a modification to allow non-image content using inline DIVs
Take a look at how it works by clicking the image of a nice shelf cloud that I snapped with my phone camera on the edge of a thunderstorm in Uptown New Orleans near Tulane last week. Once you have the javascript and css linked to the page, you just add a tiny bit of code to your link tag like this: rel=”lightbox”
Comments(1)


Ok. This saved me so much time and is a better solution than my bulky solution for photo albums.
Now, I have the urge to write a script so that I can just upload files in a zip and have it do the rest.
Design bogs me down. Although making that killer script to do a bunch of things without being seen doesn’t.