How to Make Your Web Pages Open in a New WindowTeacher: Candice Pardue
How to Make Your Web Pages Open in a New Window
Ever visited a website's homepage, clicked on a link to go to another page of the site, and the page came up in a new browser window?
All you have to do is click the X in the far right corner of your screen to exit out of the page, and you're back where you started - the homepage!
Benefit of this Technique
This web design technique enables you to create an "extra" browser window for certain sections of your website. Perhaps you'd like your visitor to open up a new page to read additional information for what he/she is reading.
For example, if you're in the middle of a sales presentation, and you offer the opportunity to the reader to read a page of testimonials from other customers, you can use this technique to do so. Your reader will be able to open a new browser window to read your testimonials, and then close the window to return to your sales presentation.
When to Create a "New Window" Link
I suggest using this technique only when there's a special purpose or reason. If you do this with every link on your site, your visitors will get frustrated quickly with the new windows opening and may leave your site completely.
Also, each time your visitor is going to open up a new window, let him know beforehand - give him a warning. Anytime you do something "out of the ordinary" on your site, tell your visitor what's going to happen. This will help prevent unwanted surprises.
You can add in parentheses beside or below your link a statement similar to this:
(Clicking on this link will open up a new browser window.)
Insert the following code into your web page html where you would like the link to appear:
You will insert the link address you want to open up in a new window where you see the web address sample above:
Next, where it states "Your Link", this is where you'll type your link text.
For example: Click Here for More Information
...or Click Here to Read Additional Testimonials
Adding this feature to sections of your website can not only open up new windows, but new opportunities and potential for your site as well. This technique, if used wisely, can be a valuable addition to your website.
About the teacher: