1. Home
  2. Computing & Technology
  3. Web Design / HTML

How to Open a Link in a New Window
Part 1: Some Things to Think About Before You Do

By , About.com Guide

Sometimes you want your readers to stay on the same page that they are at, even if they click on a link. In fact, many Web sites open a new window whenever you click on a link external to their site.

Before you decide to make all your links open new windows, there are some things to consider:

  • Some readers are annoyed when they have multiple windows open on their screen
  • The back button doesn't always work in the new window, and this may confuse some people
  • Do you need to have the window be fully functional?
  • Should the window be the same size as the current window?
  • Do you care where the window is placed on the monitor screen?

Depending upon what you need and want, there are two ways to open a new window when your reader clicks on a link:

  • Targeting (using a function that came from frames)
  • JavaScript

Next Page > Targeting to Open a Window > Page 1, 2, 3

Previous Features

Explore Web Design / HTML
About.com Special Features

The Best Web Trends of the Decade

A look back at the best innovations, ideas and technologies over the last 10 years, More >

Family Tech Center

Stay connected and entertained with reviews on tips on the latest HDTVs, cellphones and more. More >

  1. Home
  2. Computing & Technology
  3. Web Design / HTML
  4. HTML and XHTML
  5. Intermediate Tutorials
  6. How to Open a Link in a New Window: Things to Think About>

©2009 About.com, a part of The New York Times Company.

All rights reserved.