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:

–
John K.
[email protected]

Blog: http://www.kopanas.com
Conference: http://www.cusec.net
Twits: http://www.twitter.com/kopanas

On 22 Feb 2008, at 17:36, John K. wrote:

What are people using? :slight_smile:

http://prototype-window.xilinus.com/

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
http://autopendium.com).

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
LowPro.

http://livepipe.net/projects/control_modal/
http://www.danwebb.net/2006/9/3/low-pro-unobtrusive-scripting-for-prototype

HTH
Chris

John K. wrote:

What are people using? :slight_smile:

–
John K.
[email protected] mailto:[email protected]

Blog: http://www.kopanas.com
Conference: http://www.cusec.net
Twits: http://www.twitter.com/kopanas

–

http://pushrod.wordpress.com – old dogs, new tricks
http://autopendium.com – a place your old car can call home