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)