Modal Box

I am looking for the best way to create modal boxes in my RubyOnRails app.

What I am looking for:

  • a box that does not close when you click outside of the box
  • a box that does not darken out everything outside of the box
  • a box that I can put a form in
  • works on IE6+, Firefox, Safari

And if it nicely integrated with Rails even better.

What are people using? :slight_smile:

You’ll have to write your own rails helper, which shouldn’t be too hard.

Best regards

Peter De Berdt

We use Control.Modal, which is based on Prototype and can easily be
configure for 1 & 2 and works fine with forms (e.g. login form on

Re, integration with Rails, I'm not the best person to comment (though
the Prototype integration gives it a smaller footprint than if it was
stand-alone), as we use it unobtrusively with behaviours attached via


John Kopanas wrote: