# New Window popup without link

**URL:** <https://www.ruby-forum.com/t/new-window-popup-without-link/110383>\
**Category:** Rails\
**Created:** [July 25, 2007, 10:42pm UTC](https://www.ruby-forum.com/t/new-window-popup-without-link/110383 "2007-07-25T22:42:19Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![jonlog](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/j/db5fbb/32.png) [@jonlog](https://www.ruby-forum.com/u/jonlog)\
**Post date:** [July 25, 2007, 10:42pm UTC](https://www.ruby-forum.com/t/new-window-popup-without-link/110383/1 "2007-07-25T22:42:19Z")

</div>

Is it possible to have an action open a new browser window? All i’ve  
seen so far requires the :popup option in a link\_to tag. Can rails open  
a new window in any other way?

---

<div class="post-metadata">

**Author:** ![jonlog](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/j/db5fbb/32.png) [@jonlog](https://www.ruby-forum.com/u/jonlog)\
**Post date:** [July 26, 2007, 12:46am UTC](https://www.ruby-forum.com/t/new-window-popup-without-link/110383/2 "2007-07-26T00:46:19Z")

</div>

Hello,

You can try to add :target into link\_to options (the last hash).  
Or, I’d start some time ago to use ModalBox:

> **[Wildbit: Building a people-first business | Wildbit](https://wildbit.com/)**
>
> We’re the team behind Postmark, Beanstalk, DMARC Digests, and People-First Jobs. Wildbit is self-funded, profitable, and has been working remotely since 2000.

to solve those kind of problems.

Dmitry

On Jul 25, 11:42 pm, Jon G. [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid)
