[Rails] Re: link_to popup
link_to "GOOGLE", "http://www.google.com", :class
=> "_blank"
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/-/t0HdG6bX_sAJ.
For more options, visit https://groups.google.com/groups/opt_out.
0 Comments:
Post a Comment
Subscribe to Post Comments [Atom]
<< Home