Take the 2-minute tour ×
Webmasters Stack Exchange is a question and answer site for pro webmasters. It's 100% free, no registration required.

There are so many implementations of the lightbox, which is your favourite to use for your custom site? (javascript based)

I generally use Lightbox2

share|improve this question
    
Can you provide more information on what you mean by lightbox (pure JS implementation, for integration on custom sites, plugin to existing CMS or Blog, what?). One-sentence questions are borderline down-vote for me. –  JasonBirch Aug 17 '10 at 16:52
    
Good point, clarified a little, was just looking at general custom site implementations –  Wil Aug 17 '10 at 17:20
    
I'm not sure that clarification helped! By "custom" do you mean "hand-coded" as opposed to "off-the-shelf product"? Most lightboxes I've used (including the one in my example) are JS implementations, so it doesn't really matter whether the site runs on wordpress or compiled C code. –  Bobby Jack Aug 17 '10 at 17:23
add comment

8 Answers

Fancybox is a very nice one I recently discovered. It handles youtube videos particularly well.

share|improve this answer
add comment

I like Nick Stakenburg's Lightview, even though it's based on prototype and it requires a lot of frameworks. From my testing, it behaves identical in all the browsers.

share|improve this answer
    
+1 I've been looking for a good prototype based light box –  John Conde Aug 17 '10 at 18:50
    
This one is solid. ;) –  Alex Aug 18 '10 at 5:50
add comment

I like PrettyPhoto. It's lightweight, easy to use, built on jQuery, can open anything you could need.

share|improve this answer
add comment

ColorBox is pretty good, though I have had a problem with smaller images and/or longer title captions (it does not stretch the bounding box if the text wraps).

share|improve this answer
add comment

The classic one is ThickBox. It is no longer maintained but is great if you want a nice, simple lightbox with no fuss.

share|improve this answer
add comment

I like LyteBox for it's small size. Although I had to modifiy it to support "close on click" feature.

share|improve this answer
add comment

Shadowbox is pretty sweet. Not only it can generate the usual image galeries, it also can generate lightboxed out of videos, flash or even html (good for contextual help).
It also has many ways of handling large images (crop, pan, zoom, etc), and you can close the box with esc.
Standalone, but compatible with jquery.

share|improve this answer
add comment

If you're looking for a flexible lightbox that can handle any type of media, check out mediaboxAdvanced for MooTools.

It supports:

  • Images
  • Twitter
  • Social Video
  • Flash media
  • Quicktime
  • Inline
  • HTML
share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.