homepage Welcome to WebmasterWorld Guest from
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
Become a Pro Member
Home / Forums Index / Code, Content, and Presentation / HTML
Forum Library, Charter, Moderators: incrediBILL

HTML Forum

Open in a new window
New tab opens instead

5+ Year Member

Msg#: 4218838 posted 1:32 pm on Oct 19, 2010 (gmt 0)

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.




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

Msg#: 4218838 posted 3:21 pm on Oct 19, 2010 (gmt 0)

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.


10+ Year Member

Msg#: 4218838 posted 1:31 pm on Oct 21, 2010 (gmt 0)

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.

Global Options:
 top home search open messages active posts  

Home / Forums Index / Code, Content, and Presentation / HTML
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Home ¦ Free Tools ¦ Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About ¦ Library ¦ Newsletter
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved