<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title> &#187; open link in new window</title>
	<atom:link href="http://wp.resources4marketers.com/tag/open-link-in-new-window/feed/" rel="self" type="application/rss+xml" />
	<link>http://wp.resources4marketers.com</link>
	<description></description>
	<lastBuildDate>Mon, 23 Aug 2010 08:18:55 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
		<item>
		<title>How to open a link in a new window</title>
		<link>http://wp.resources4marketers.com/how-to-open-a-link-in-a-new-window/</link>
		<comments>http://wp.resources4marketers.com/how-to-open-a-link-in-a-new-window/#comments</comments>
		<pubDate>Sat, 12 Dec 2009 01:10:57 +0000</pubDate>
		<dc:creator>r4m website marketing</dc:creator>
				<category><![CDATA[How to - Tutorials]]></category>
		<category><![CDATA[force links to open in new window]]></category>
		<category><![CDATA[open link in new window]]></category>

		<guid isPermaLink="false">http://wp.resources4marketers.com/?p=380</guid>
		<description><![CDATA[A serious concern of many web site owners is the fact that when guests click a link they&#8217;re taken away from their site which stops more browsing. So how do you stop visitors leaving your website once they click a link? How do you create a link that will open in a new window or [...]]]></description>
			<content:encoded><![CDATA[<p>A serious concern of many web site owners is the fact that when guests click a link they&#8217;re taken away from their site which stops more browsing.</p>
<p>So how do you stop visitors leaving your website once they click a link? How do you create a link that will open in a new window or tab?</p>
<p>Fortunately, this is a relatively easy issue to resolve.  If you have access to editing the html of your site then it&#8217;s just a matter of adding a <font color="red">target=&#8221;blank&#8221;</font> to the html code for the link as in the instance below.</p>
<p>Example 1: Making a link attached to a graphic or banner open in a new tab or window</p>
<p>&lt;a href=&#8221;http://www.mysite.com&#8221; target=&#8221;blank&#8221;&gt; &lt;img src=&#8221;http://www.mysite.com/images/banner.jpg&#8221;&gt; &lt;/a&gt;</p>
<p>This will create one thing like this</p>
<table width="100%">
<td>
<center><a href="http://www.resources4marketers.com" target="blank"><img src=http://www.resources4marketers.com/images/r4mbanner2.png></a></center></td>
</table>
<p>Example 2: Forcing text links to open in a new tab or window</p>
<p>&lt;a href=&#8221;http://www.mysite.com&#8221; target=&#8221;blank&#8221;&gt; my link here &lt;/a&gt;</p>
<p>Will form a link like this:</p>
<p><a href="http://www.resources4marketers.com" target="blank">Resources for Marketers</a></p>
<p>Whether these links open a new window or browser tab depends on the visitors browser settings.  But whichever it does, your site will still be open in their browser for them to come back to.</p>
<p>It should be noted that Google does not allow the code in adsense units to be altered.  Therefore it is unavoidable that people leave your site if they click a Google link. If you alter this code Google will disallow ALL clicks and probably shut your adsense account and ban you from ever signing up again.</p>
<p>Any other link could be opened in separate windows or tabs by following the instructions above.</p>
]]></content:encoded>
			<wfw:commentRss>http://wp.resources4marketers.com/how-to-open-a-link-in-a-new-window/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

