I have a problem with I.E 6 & 7 I have a link with :popup => true, and sometimes (but not all the time) the window will pop up in a new window and open up in the same window. You can check it out http://www.showsinlasvegas.com/pages/show It works fine with fire fox, opera and safari. Any ideas would be awesome. -- 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 -~----------~----~----~----~------~----~------~--~---
Jeremy Woertink wrote:> I have a problem with I.E 6 & 7 > > I have a link with :popup => true, and sometimes (but not all the time) > the window will pop up in a new window and open up in the same window. > > You can check it out http://www.showsinlasvegas.com/pages/show > > It works fine with fire fox, opera and safari. > > Any ideas would be awesome.I forgot to mention, that after you go to http://www.showsinlasvegas.com/pages/show you have to choose a show, then click the seating chart link on the right side. I''m using: <%= link_to(''Seating Chart'', { :controller => ''pages'', :action => ''seating_chart'', :id => @show }, :popup => true) %> to generate the link. -- 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 -~----------~----~----~----~------~----~------~--~---
Hi, could you post the relevant code snippet for people to better assist you? Thanks, -Conrad On 5/22/07, Jeremy Woertink <rails-mailing-list-ARtvInVfO7ksV2N9l4h3zg@public.gmane.org> wrote:> > > I have a problem with I.E 6 & 7 > > I have a link with :popup => true, and sometimes (but not all the time) > the window will pop up in a new window and open up in the same window. > > You can check it out http://www.showsinlasvegas.com/pages/show > > It works fine with fire fox, opera and safari. > > Any ideas would be awesome. > > -- > 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 -~----------~----~----~----~------~----~------~--~---
It sounds to me like you are re-using the window object. Try opening the popup with a unique window name, possibly derived from the object id. For example: link_to "Open Show", { :action => "view" }, :popup => [@show.id, ''height=300,width=600''] Regards, Dave _______________________________ Information and Educational Technology Kwantlen University College - 604-599-2120 "So powerful is the light of unity that it can illuminate the whole earth." --Bahá''u''lláh rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org wrote on 22-05-2007 10:33:30 AM:> > I have a problem with I.E 6 & 7 > > I have a link with :popup => true, and sometimes (but not all the time) > the window will pop up in a new window and open up in the same window. > > You can check it out http://www.showsinlasvegas.com/pages/show > > It works fine with fire fox, opera and safari. > > Any ideas would be awesome. > > -- > 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@googlegroups.com For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
David Dumaresq wrote:> It sounds to me like you are re-using the window object. Try opening the > popup with a unique window name, possibly derived from the object id. > > For example: > link_to "Open Show", { :action => "view" }, :popup => [@show.id, > ''height=300,width=600''] > > Regards, > Dave > _______________________________ > Information and Educational Technology > Kwantlen University College - 604-599-2120 > "So powerful is the light of unity that it can illuminate the whole > earth." --Bahá''u''lláhSweet. your my new best friend. That worked. -- 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@googlegroups.com For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
Make sure the window name is _blank <%= link_to(foo.name, { :controller => ''foo_controller'', :action => ''foo_details'', :id => foo }, :popup => [''_blank'', ''width=720, height=250'']) %> On May 22, 4:03 pm, Jeremy Woertink <rails-mailing-l...-ARtvInVfO7ksV2N9l4h3zg@public.gmane.org> wrote:> David Dumaresq wrote: > > It sounds to me like you are re-using the window object. Try opening the > > popup with a unique window name, possibly derived from the object id. > > > For example: > > link_to "Open Show", { :action => "view" }, :popup => [@show.id, > > ''height=300,width=600''] > > > Regards, > > Dave > > _______________________________ > > Information and Educational Technology > > Kwantlen University College - 604-599-2120 > > "So powerful is the light of unity that it can illuminate the whole > > earth." --Bahá''u''lláh > > Sweet. your my new best friend. That worked. > > -- > 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-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
There an alternative that worked for me:> <%= link_to(foo.name, > { :controller => ''foo_controller'', > :action => ''foo_details'', > :id => foo > }, {target=>''_blank''})On May 23, 10:26 am, Scott <tamosu...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> Make sure the window name is _blank > > <%= link_to(foo.name, > { :controller => ''foo_controller'', > :action => ''foo_details'', > :id => foo > }, :popup => [''_blank'', ''width=720, height=250'']) > %> > > On May 22, 4:03 pm, Jeremy Woertink <rails-mailing-l...-ARtvInVfO7ksV2N9l4h3zg@public.gmane.org> > wrote: > > > David Dumaresq wrote: > > > It sounds to me like you are re-using the window object. Try opening the > > > popup with a unique window name, possibly derived from the object id. > > > > For example: > > > link_to "Open Show", { :action => "view" }, :popup => [@show.id, > > > ''height=300,width=600''] > > > > Regards, > > > Dave > > > _______________________________ > > > Information and Educational Technology > > > Kwantlen University College - 604-599-2120 > > > "So powerful is the light of unity that it can illuminate the whole > > > earth." --Bahá''u''lláh > > > Sweet. your my new best friend. That worked. > > > -- > > 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-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---