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.
http://swik.net/Rails+lightbox

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

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

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.
http://swik.net/Rails+lightbox

Cheers,
  James

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

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