Quick Link: Lightbox JS

Lokesh Dhakar sent me his unobtrusive JavaScript-based image popup, called Lightbox JS. I like the feel of the result although the execution feels a little jumpy in Firefox. A smoother transition and a way to cancel the image (or at least hide the overlay) before it has loaded would be nice features.

Published December 29, 2005 · Updated September 14, 2006
Categorized as Quick Links
Short URL: https://snook.ca/s/485

Conversation

3 Comments · RSS feed
Graham B said on December 30, 2005

I like the idea, but due to the lack of notification I immediately went for the back button and found myself back here! People are used to the back button undoing the last action so this could easily confuse, unless the interface is obvious.

Bernard Hibbs said on December 19, 2006

In response to the comment about the back button, this is easily solved by running a dhtml history script. You can see it in action here:
Custom Signs

As you can see, the back button will function normally.

Olson said on June 29, 2007

I have bloged the complete fix to the back button in Lightbox.js. You can find it here:
Fixing the back button history in Lightbox
Hope you find it helpful.

Sorry, comments are closed for this post. If you have any further questions or comments, feel free to send them to me directly.

Want to learn about scaling CSS for large projects?

I'm available for full and half-day workshops on scalable CSS architecture. I can provide on-site training for your team. Interested?
Get in touch.