Tilendor
Tilendor

Reputation: 48903

What are some good pop-up dialog boxes for Ruby on Rails

I want to use modal pop-up windows in our web app in Ruby on Rails. Note that I don't want to create a new browser window, but a sub-window inside the existing webpage. We've tried things like TinyBox, but there are issues with returning error information from inside the controller. Any good method or tool that works well in ruby?

Upvotes: 13

Views: 17607

Answers (8)

Jorge Cea
Jorge Cea

Reputation: 1

I have tried several of the ones mentioned above but after twiking it a bit I found that http://www.methods.co.nz/popup/popup.html works better for me, the only problem is that you have create an error routing similar to the one Rails uses, when returning to the popup window with errors the pop up window does not have a way to handle it

Upvotes: 0

nitecoder
nitecoder

Reputation: 5486

Facebox, jquery, that Github use is the best one. There is also a prototype version.

Upvotes: 2

Yi-Ru Lin
Yi-Ru Lin

Reputation: 97

I've used facebox_render for all my rails projects. It's really easy to use and provided complete helper. You can easily render html or javascript in your RESTful controller.

Upvotes: 1

Paul Engel
Paul Engel

Reputation:

Try TopUp! It is developed in a Rails application and you can get it from GitHub. Please note that it is still beta. Feedback is always welcome ;)

Upvotes: 2

mlambie
mlambie

Reputation: 7497

I'm investigating ModalBox at the moment and it's looking promising.

There's a Google Group and Rails plugin which replaces the basic confirm popup with a modal dialog box.

Upvotes: 2

salt.racer
salt.racer

Reputation: 22332

There's also prototype-window.

Upvotes: 4

Daniel Beardsley
Daniel Beardsley

Reputation: 20367

I've used Lightbox Gone Wild for a while now, though I've modified it to display a DIV or other element that's already on the page (though hidden) and then return it to it's parent when the box is closed. I've used it make make Wizards that guide the user through a process.

Upvotes: 1

Mike
Mike

Reputation: 3416

I've never used it myself (not yet at least) but have you tried RedBox?

Upvotes: 3

Related Questions