I try to put some tabs in a ligtbox (lightview) to do a user friendly form, kind of. With lightbox i mean a modal window. The tabs (livipipe) works well withe ajax in the normal window, but when I put them in the ligtview ligtbox they stop working. I guess it has something to do with getelementbyid in the DOM and seems very complicated. Anyhow, does anyone have any experience of doing ajax tabs in a lightbox that works? -- 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-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
On Jan 8, 8:36 am, jeb <jo...-sgoA4MbTzF0@public.gmane.org> wrote:> I try to put some tabs in a ligtbox (lightview) to do a user friendly > form, kind of. With lightbox i mean a modal window. > > The tabs (livipipe) works well withe ajax in the normal window, but > when I put them in the ligtview ligtbox they stop working. I guess it > has something to do with getelementbyid in the DOM and seems very > complicated. > > Anyhow, does anyone have any experience of doing ajax tabs in a > lightbox that works?The thing I''ve run into with lightboxes is that they typically *don''t* generate another document.ready-style event, so a lot of unobtrusive JS methods can get confused. Can you post more details about how you''re attempting to add the tab behavior and what exactly "isn''t working"? --Matt Jones -- 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-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
jeb wrote:> I try to put some tabs in a ligtbox (lightview) to do a user friendly > form, kind of. With lightbox i mean a modal window. > > The tabs (livipipe) works well withe ajax in the normal window, but > when I put them in the ligtview ligtbox they stop working. I guess it > has something to do with getelementbyid in the DOM and seems very > complicated. > > Anyhow, does anyone have any experience of doing ajax tabs in a > lightbox that works?This has nothing to do with Rails. It''s a JavaScript issue, so you''ll probably get better answers on a JavaScript forum. Best, -- Marnen Laibow-Koser http://www.marnen.org marnen-sbuyVjPbboAdnm+yROfE0A@public.gmane.org -- 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-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
Figured it out at last. On 10 Jan, 01:10, Marnen Laibow-Koser <li...-fsXkhYbjdPsEEoCn2XhGlw@public.gmane.org> wrote:> jeb wrote: > > I try to put some tabs in a ligtbox (lightview) to do a user friendly > > form, kind of. With lightbox i mean a modal window. > > > The tabs (livipipe) works well withe ajax in the normal window, but > > when I put them in the ligtview ligtbox they stop working. I guess it > > has something to do with getelementbyid in the DOM and seems very > > complicated. > > > Anyhow, does anyone have any experience of doing ajax tabs in a > > lightbox that works? > > This has nothing to do with Rails. It''s a JavaScript issue, so you''ll > probably get better answers on a JavaScript forum. > > Best, > -- > Marnen Laibow-Koserhttp://www.marnen.org > mar...-sbuyVjPbboAdnm+yROfE0A@public.gmane.org > -- > Posted viahttp://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-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.