On Dec 9, 2012, at 11:47 PM, Avi wrote:
> :target => '_blank' . It is opening in a different tab in the same browser.
That's an implementation detail of your browser. The target="_blank" bit is baked into every browser back to Netscape 2. How that browser chooses to implement the window (or tab) is its concern, not something you can change.
Walter
>
> 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 rubyonra...@googlegroups.com.
> > To unsubscribe from this group, send email to rubyonrails-ta...@googlegroups.com.
> > 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 rubyonrails-talk@googlegroups.com.
> To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com.
> 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.
>
>
--
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@googlegroups.com.
To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
No comments:
Post a Comment