[Rails] Re: New Browser Window using AJAX

2009-03-13 Thread Starr Horne
> Greg - this "works" but is flagged by popup blockers on IE and > Firefox. Any thoughts on methods around this? I don't know if it helps, but I've noticed that browsers will let you open a window via JS, as long as the JS was called as a result of a user click. The exact same code will be blo

[Rails] Re: New Browser Window using AJAX

2009-03-13 Thread DPF
Greg - this "works" but is flagged by popup blockers on IE and Firefox. Any thoughts on methods around this? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send

[Rails] Re: New Browser Window using AJAX

2009-03-03 Thread Greg Donald
On Tue, Mar 3, 2009 at 6:08 AM, Dave L wrote: > > Okay, thanks.  Thats what I thought and I have been trying that, but > I'm wondering, will this trigger the window action of the home > controller?  And do I just add a window view?  Is it possible to > populate that view dynamically within the po

[Rails] Re: New Browser Window using AJAX

2009-03-03 Thread Dave L
Okay, thanks. Thats what I thought and I have been trying that, but I'm wondering, will this trigger the window action of the home controller? And do I just add a window view? Is it possible to populate that view dynamically within the popup ajax action? On Mar 2, 9:01 pm, Greg Donald wrote:

[Rails] Re: New Browser Window using AJAX

2009-03-02 Thread Greg Donald
On Mon, Mar 2, 2009 at 7:03 PM, David wrote: > > Is it possible to create a new browser window popup with an ajax > call? Yup. > I want to open a new window and then trigger window.print() > like google docs and maps.  I know you can create new browser popups > with link_to by using :popup => [

[Rails] Re: New Browser Window using AJAX

2009-03-02 Thread bill walton
Hi David, On Mon, 2009-03-02 at 17:03 -0800, David wrote: > Is it possible to create a new browser window popup with an ajax > call? I want to open a new window and then trigger window.print() > like google docs and maps. If I understand what you're trying to do, you should be able to use link_