Information on how to make money online with affiliate marketing
Categories
Sponsored
Recommended Articles
Free 10-Day Internet Affiliate Marketing Course
Recommended Sites
Sponsored
How To Open Links In A New Window
Most of the time it is fine to have your links open within the same window, but sometimes you may want your users to remain on the page when they click through to another page. You don't want too many windows opening in a new window, as this could become annoying to the user, but when a link takes them to another site, you want the link to open in a new window so they won't forget to come back to your site.

There are several different ways of doing it, but the easiest way is to use a simple html code that you add to each link that you want to open within a new window. All you have to do is add the code target="_blank" to the hyper text link.

The code for a hyper text link that opens within the same window will look like this:

The code to open the link in a new window with the target="_blank" added after the domain name will look like this:

Another way to do it is by putting the tag in the head section of your page, and all the links on that particular page will open within a new window.

You can also use Javascript to determine the size of the window, the alignment, whether you want to have scroll bars and much more. For more information on the topic click here.