Forum: Ruby on Rails How do i open link to a new winow?

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
4108c0021c64d188494cae8dcfc95fd8?d=identicon&s=25 Jon Mr (jon-d)
on 2006-05-11 19:32
Pretty simple question right?  can't seem to figure it out.
119af50160cabfe1fb6f2f05f5018c64?d=identicon&s=25 James Ludlow (Guest)
on 2006-05-11 19:41
(Received via mailing list)
On 5/11/06, Jon Mr <jon.druse@gmail.com> 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.htm...

-- James
A2c85dc5ee81b12e3cc0a6522e8d079d?d=identicon&s=25 Chris Hall (Guest)
on 2006-05-11 19:44
(Received via mailing list)
<%= link_to "something", { :controller => "mycontroller", :action =>
"myaction" }, :popup => true -%>

http://api.rubyonrails.org/classes/ActionView/Help...
119af50160cabfe1fb6f2f05f5018c64?d=identicon&s=25 James Ludlow (Guest)
on 2006-05-11 20:02
(Received via mailing list)
On 5/11/06, Chris Hall <christopher.k.hall@gmail.com> wrote:
> <%= link_to "something", { :controller => "mycontroller", :action =>
> "myaction" }, :popup => true -%>
>
> http://api.rubyonrails.org/classes/ActionView/Help...

I like that even better.

-- James
This topic is locked and can not be replied to.