hello,
i''m using Craig Ambrose''s RedBox pluging and I''d like
to render a
partial inside the RedBox, and this happens to some extent. On Craig''s
site the lightbox renders across his entire screen, but on my setup it
only renders with the lightbox shifted to the right. This happens to
varying degrees on different browsers. I inspected the DOM and noticed
that whenever the lightbox is rendered I see something like
<div id="wrapper">
<div id="RedBox">
<div id="wrapper">
and normally its just <div id="wrapper"> when the lightbox
hasn''t been
activated.
My thinking is that somehow i''m rendering and entire page instead of
just the partial, but for some reason all the parts of the page don''t
display.
Does anyone know how to force rails to just render the partial and not
its layout?
thanks,
binh
--
Posted via http://www.ruby-forum.com/.
--~--~---------~--~----~------------~-------~--~----~
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
rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
To unsubscribe from this group, send email to
rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
For more options, visit this group at
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---