views:

15376

answers:

11

What is the best javascript lightbox script currently available?

I'm working on a project and am a bit baffled at the number of lightbox scripts out there. The one I need should:

  • not allow flash movies to show through the grayed out background
  • work in all browsers including IE6, Opera
  • should allow html content, flash files
  • easily skinnable/css configurable
  • should be well documented
  • can be a jquery plugin (can just be a standalone script), but not prototype
  • can display iframes
  • is well documented and tested

(Please: one suggestion per answer.)

+9  A: 

http://planetozh.com/projects/lightbox-clones/

This compares them, but you have to make your own decision to which is best.

Lewis
Thanks! I'd seen this site a while ago but forgotten the location. Very useful
Sam Wessel
+1  A: 

We've been using Lightbox 2 for a year or two on a variety of sites and like it a great deal.

It's lightweight and pretty customizable, so can be bent to your will pretty easily. It is, however, Prototype based, so probably doesn't met your needs precisely. :(

Sean McMains
A: 

I like SlimBox for MooTools

NoWhereMan
+2  A: 

I think Shadowbox.js meets all of your requirements. It has a standalone option and adapters so that it can work as a plugin for JQuery and several other libraries.

Patrick McElhaney
A: 

I'm quite happy with FancyBox. It's a jQuery plugin, it' works with IE6 if you use the jQuery.pngFix.js which I believe it includes. It will allow HTML/Embedded content, I can't be sure of the rest of your requirements.

alexp206
A: 

I have used jquery Thickbox a few times and I can confirm that it satisfies all your requirements save for the first one.

nikhil
+1  A: 

LightWindow. Having tried to implement about 5 of these lightbox clones for a recent app, this one is simply miles better than all the others. It supports every type of object you can think of to embed and is fully compatible across all browsers.

Sam Wessel
Doesn't seem to exist anymore.
joshjs
+1  A: 

Try this... http://www.huddletogether.com/projects/lightbox2/

Creative Thoughts
A: 

If you're using MooTools, CNET has a Slimbox port that has the advantage of being documented...

http://clientside.cnet.com/wiki/cnet-libraries/11-3rdparty/05-lightbox

Anutron
A: 

Lytebox (http://www.dolem.com/lytebox/). Can use in an iFrame.

+4  A: 

ColorBox is very nice and actively developed. It's using jQuery.

GvS