# Opening links in new windows

**URL:** https://forum.kirupa.com/t/opening-links-in-new-windows/182968
**Category:** Uncategorized
**Created:** [March 22, 2006, 8:41pm UTC](https://forum.kirupa.com/t/opening-links-in-new-windows/182968 "2006-03-22T20:41:55Z")
**Posts on this page:** 5
**Page:** 1

<div class="post-metadata">

### Author: ![daleth](https://yyz1.discourse-cdn.com/flex011/user_avatar/forum.kirupa.com/daleth/32/1096_2.png) [@daleth](https://forum.kirupa.com/u/daleth)
#### Post date: [March 22, 2006, 8:41pm UTC](https://forum.kirupa.com/t/opening-links-in-new-windows/182968/1 "2006-03-22T20:41:55Z")

</div>

Hi all! I’m developing a portfolio site that uses html text fields with links in them. Now, I would have SWORN that at one time these links automatically opened in new windows, which is the desired behavior (that’s a discussion for another thread, but there are very good reasons to not open in the same window).  
However, now I find that the links open in the same window, and when I try to make them open in a new window, it’s always blocked by popup blockers. What gives? Surely there must be a way to get this basic functionality without a crazy javascript hack.  
What do you guys do to open new windows?  
Thanks so much in advance!  
:: v\_d ::

---

<div class="post-metadata">

### Author: ![CreativityAwait](https://avatars.discourse-cdn.com/v4/letter/c/ccd318/32.png) [@CreativityAwait](https://forum.kirupa.com/u/CreativityAwait)
#### Post date: [March 23, 2006, 3:07pm UTC](https://forum.kirupa.com/t/opening-links-in-new-windows/182968/2 "2006-03-23T15:07:49Z")

</div>

I usually use something like:

getURL(“MyPageToOpen.htm”, “\_blank”);

The “\_blank” bit opens in a new window. Hope this helps

---

<div class="post-metadata">

### Author: ![daleth](https://yyz1.discourse-cdn.com/flex011/user_avatar/forum.kirupa.com/daleth/32/1096_2.png) [@daleth](https://forum.kirupa.com/u/daleth)
#### Post date: [March 23, 2006, 5:56pm UTC](https://forum.kirupa.com/t/opening-links-in-new-windows/182968/3 "2006-03-23T17:56:51Z")

</div>

Right, but what I’m saying is, these are always being blocked by popup blockers now. Is anyone else having this problem, because I could have sworn this wasn’t a problem before something seems to have changed. Anyone?

---

<div class="post-metadata">

### Author: ![daleth](https://yyz1.discourse-cdn.com/flex011/user_avatar/forum.kirupa.com/daleth/32/1096_2.png) [@daleth](https://forum.kirupa.com/u/daleth)
#### Post date: [March 26, 2006, 4:33am UTC](https://forum.kirupa.com/t/opening-links-in-new-windows/182968/4 "2006-03-26T04:33:27Z")

</div>

To bump this thread, I guess I’m asking more of a survey: when you launch a link, do you open in the same windows, or launch new windows? Am I the only one who is having a significant problem with popup blocking? Because I see a lot of very good, very visible Flash sites that open things in new windows and my FireFox automatically blocks these now, and I don’t think it always did that.  
Let me know, guys!!

---

<div class="post-metadata">

### Author: ![nabskater](https://avatars.discourse-cdn.com/v4/letter/n/aca169/32.png) [@nabskater](https://forum.kirupa.com/u/nabskater)
#### Post date: [March 26, 2006, 5:31am UTC](https://forum.kirupa.com/t/opening-links-in-new-windows/182968/5 "2006-03-26T05:31:49Z")

</div>

Well are you launching it so the launched window has a .swf in it or is it a pic or some text? I had just the opposite happen, i made a thumbnail page for some photos and it was supposed to pop up in a new window with just the jpg when you clicked on it. This worked in Firefox but not in IE. Dont you just love making things work for multiple browsers??:puzzle:

Nick:hr:
