What is the preferred "lightbox" plugin?

Hi all -

I need to do an overlay with something that supports ajax/remote
html. There’s lots of options and quite a few rails plugins. Some
seem out of date however.

Any suggestions on which one is “best” where “best” is defined as easy
to implement, works in all browsers, supports ajax or remote html.

Thanks!

-philip

Hi Philip,

Philip H. wrote:

I need to do an overlay with something that supports ajax/remote
html. There’s lots of options and quite a few rails plugins. Some
seem out of date however.

Any suggestions on which one is “best” where “best” is defined as easy
to implement, works in all browsers, supports ajax or remote html.

I’m in the same boat. I’ve been in touch with Craig A. and let him
know there were some ‘problems’ with Redbox. I’m hopeful he’ll whip out
something real quick ;-). Seriously though… I’ve got Redbox working
except for the automatic positioning. There seems to be some code
missing.
I specifically queried Craig about that. In the meantime, I’ve been
working
today on getting the positioning working. If you’re intersted, I could
send
you what I come up with. I’ll warn you, though… JS is not one of my
strengths :wink:

Best regards,
Bill

If you are willing to use JQuery then
http://handlino.com/blog/2008/02/26/57/
is a good plugin. I’m on 2.1 and 2.2 for the projects where I’m using
this plugin.

I installed jrails and replaced prototype completely…

I need to do an overlay with something that supports ajax/remote
html. There’s lots of options and quite a few rails plugins. Some
seem out of date however.

Any suggestions on which one is “best” where “best” is defined as easy
to implement, works in all browsers, supports ajax or remote html.

Thanks to those that replied… I should have clarified no-jquery. I
love jquery, but the site uses a lot of Prototype and I’d rather not
double up on JS libraries.

I found one and got it working. Seems to do the right thing :slight_smile:

http://code.google.com/p/rb-lightbox-plugin/

Not too much of a pain to implement either. centers, works in IE/
Firefox.

There do seem to be a lot more jquery based ones. Will have to go
that route right off the bat next time :slight_smile:

-philip

I have a site with a fair amount of prototype too, and am wondering
about integrating jquery for only the login popup modal box. Isn’t it
possible to only load jquery for the login partial when someone clicks
to login, so that I am not doubling up on JS libraries on other pages?

Ive been using this on my latest project and found it to be very
stable, easy to style, easy to use…

http://famspam.com/facebox

Good Luck