Sunday, December 9, 2012

[Rails] Re: link_to popup



On Saturday, December 8, 2012 7:32:39 PM UTC+5:30, Alex Mercer wrote:
link_to "GOOGLE", "http://www.google.com", :class => "_blank"


I tried with :class => "_blank".  It seems to be opening in the same page.


On Saturday, December 8, 2012 9:15:00 AM UTC+2, 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 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/-/7PgWGL7gWRcJ.
For more options, visit https://groups.google.com/groups/opt_out.
 
 

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home


Real Estate