Try this link http://www.stickmanlabs.com/lightwindow/. I have used
lightwindow to display images.Hope it will work for you.In this you
can submit a form and display images,play video,etc.
-------------------------------------

On Apr 3, 4:33 am, bill walton <[email protected]> wrote:
> On Thu, 2009-04-02 at 08:47 -0700, Ali wrote:
> > On Apr 2, 8:09 am, bill walton <[email protected]> wrote:
> > > Hi Ali,
>
> > > Have you considered a lightbox-style approach?
>
> > > Best regards,
> > > Bill
>
> > I had looked into that approach a little bit, but from what I've seen,
> > isn't that mostly for housing image popups?  I need my popup to act
> > just like a ROR form -- create, update, etc.  Can a lightbox approach
> > handle that, or is it more for display purposes?
>
> I'm using Craig Ambrose's RedBox plugin.  It's a Ruby implementation of
> Lightbox.
>
> (http:://blog.craigambrose.com/articles/2006/08/16/redbox-a-rails-compatible-lightbox)
>
> With Redbox, the 'lightbox' window can house anything; including forms.
>
> A couple of things that tripped me up a little:
>
> 1) The RedBox method is invoked via XHR, but it renders a
> straight .rhtml partial.
>
> 2) You need to make sure the partial has a containing <div> that's got
> height and width styled (CSS) to fit within the RedBox window.
> Otherwise you'll get a blank display where you expected content.  I
> think the 'difficulty' related to non-image content is related to
> whether or not the dimensions of the 'bounding box' can be known or have
> to be calculated.  Anyway, I've found RedBox to be a very useful tool.
>
> HTH,
> Bill
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to