Welcome to WebmasterWorld Guest from 54.196.224.166

Forum Moderators: incrediBILL

Message Too Old, No Replies

Open in a new window

New tab opens instead

     

Adam5000

1:32 pm on Oct 19, 2010 (gmt 0)

10+ Year Member



I'd like to have a link on page one that opens page two in a new window. And when I use <a href="page_two" target="_blank"> page two is opened in a new tab in the current window instead.

Help!

LifeinAsia

3:21 pm on Oct 19, 2010 (gmt 0)

WebmasterWorld Administrator lifeinasia is a WebmasterWorld Top Contributor of All Time 5+ Year Member Top Contributors Of The Month



That's a browser setting. I think most new browsers are set to open a new tab by default instead of a new window.

I find it highly annoying, but most people I've talked to said they prefer new tabs instead of new windows.

futureX

1:31 pm on Oct 21, 2010 (gmt 0)

10+ Year Member



Opening links in new tabs rather than windows is commonplace in browsers these days, I can't think of many reasons to open links in new windows rather than tab unless you need to specify a window size, and if you're using _blank then you're not doing that.

I think that it's the right way to go about things, when I am browsing I don't want websites opening new windows when I don't want to, I want to be able to choose when I open a new window and the only reason I can really think of is if there is a web app that looks better in a small window.

You can still open new windows with Javascript.