:target => '_blank' . It is opening in a different tab in the same browser.

On Saturday, December 8, 2012 9:07:57 PM UTC+5:30, Walter Lee Davis wrote:
>
> :target => '_blank' will do this. 
>
> Walter 
>
> On Dec 8, 2012, at 2:15 AM, Avi wrote: 
>
> > Hello All, 
> > 
> > I have a link. Which I want to open as a new window :- 
> > 
> > <%= link_to "Google", "https://www.google.com";, :popup => 
> ['new_window_name','toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=yes,resizable=yes']
>  
> %> 
> > 
> > But it is opening in the same page.... 
> > Any suggestions how to do it ?? 
> > Even hover will be fine... 
> > 
> > Thanks, 
> > Avi 
> > 
> > -- 
> > 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]<javascript:>. 
>
> > To unsubscribe from this group, send email to 
> [email protected] <javascript:>. 
> > To view this discussion on the web visit 
> https://groups.google.com/d/msg/rubyonrails-talk/-/zMuhc6eQ6vsJ. 
> > For more options, visit https://groups.google.com/groups/opt_out. 
> >   
> >   
>
>

-- 
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].
To view this discussion on the web visit 
https://groups.google.com/d/msg/rubyonrails-talk/-/Br_rYNpXEigJ.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to