Forum: Ruby on Rails What is the preferred "lightbox" plugin?

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
Philip H. (Guest)
on 2008-11-18 23:05
(Received via mailing list)
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
Bill W. (Guest)
on 2008-11-19 00:24
(Received via mailing list)
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 ;-)

Best regards,
Bill
Freddy A. (Guest)
on 2008-11-19 00:34
(Received via mailing list)
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..
Philip H. (Guest)
on 2008-11-19 00:55
(Received via mailing list)
> 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 :)

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 :)

-philip
Bob O (Guest)
on 2008-11-19 17:16
(Received via mailing list)
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
David (Guest)
on 2008-11-21 01:25
(Received via mailing list)
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?
This topic is locked and can not be replied to.