Forum: Ruby on Rails Open Browser Window help

Announcement (2017-05-07): is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see and for other Rails- und Ruby-related community platforms.
7f1af56a4fd679069412fc46c7a4378e?d=identicon&s=25 Steve (Guest)
on 2007-04-11 05:17
(Received via mailing list)
When I previously designed my static sites in dreamweaver, I used an
Open Browser Window behavior which opened a URL in a new window of
fixed size by inserting the following:

<a href="javascript:;"
     onclick="MM_openBrWindow('example.html', ...

Is there a simple way to do the same thing in ruby?
A2c85dc5ee81b12e3cc0a6522e8d079d?d=identicon&s=25 Chris Hall (au5lander)
on 2007-04-11 12:53
(Received via mailing list)
this has nothing to do with ruby.  that function you show is some
custom Dreamweaver function.  it's just a wrapper for the javascript
D7c511ce5025d37b8c6bd9134e0f2bd9?d=identicon&s=25 Thorsten (Guest)
on 2007-04-11 13:03
(Received via mailing list)
link_to "blabla", {:controller => some, :action => :thing }, :popup =>

Rails API on :popup => :

:popup => true || array of window options: This will force the link to
open in a popup window. By passing true, a default browser window will
be opened with the URL. You can also specify an array of options that
are passed-thru to JavaScripts method.
This topic is locked and can not be replied to.