How to create a simple DHTML dialog

I am looking to create a simple dialog window like this on a page:

http://developer.yahoo.com/yui/examples/container/simpledialog/2.html

I know scriptaculous comes with Rails, not YUI, but I can’t find
anything similar there. Is there any shortcut to doing this with
existing plugins or core stuff?, or must I download another toolkit?

thanks
Sam

Hi,

You could have a look at lightbox variants, I haven’t had too in-depth a
look though I’ve worked on a project using lightbox in rails and it
worked
rather nicely.

Cheers,
James

Sam,

I am looking to create a simple dialog window like this on a page:

http://developer.yahoo.com/yui/examples/container/simpledialog/2.html

This library is actively maintained:

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

Its theming options let you tube the way it looks like :
http://prototype-window.xilinus.com/themes.html

I know scriptaculous comes with Rails, …

For javascript and prototype in Rails questions, there is another list :

http://groups.google.com/group/rubyonrails-spinoffs


Alain R.

http://blog.ravet.com

Thanks - it actually didn’t have to be modal (just a pop-up help/hint)
so I ended up just using Effect.Appear and Effect.Fade (which were
already available) on a custom DIV. Should suffice for now…

Regards,
Sam

On Wednesday 30 May 2007, James Brooks wrote:

Hi,

You could have a look at lightbox variants, I haven’t had too in-depth
a
look though I’ve worked on a project using lightbox in rails and it
worked

http://developer.yahoo.com/yui/examples/container/simpledialog/2.html