How do i open link to a new winow?


#1

Pretty simple question right? can’t seem to figure it out.


#2

On 5/11/06, Jon Mr removed_email_address@domain.invalid wrote:

Pretty simple question right? can’t seem to figure it out.

Rails doesn’t really have anything to do with it. Just set a unique
target name in your anchor tag.

http://www.w3.org/TR/REC-html40/present/frames.html#adef-target

– James


#3

<%= link_to “something”, { :controller => “mycontroller”, :action =>
“myaction” }, :popup => true -%>

http://api.rubyonrails.org/classes/ActionView/Helpers/UrlHelper.html#M000378


#4

On 5/11/06, Chris H. removed_email_address@domain.invalid wrote:

<%= link_to “something”, { :controller => “mycontroller”, :action =>
“myaction” }, :popup => true -%>

http://api.rubyonrails.org/classes/ActionView/Helpers/UrlHelper.html#M000378

I like that even better.

– James