<?xml version="1.0" encoding="UTF-8"?>
<!-- generator="bbPress/1.0.2" -->
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title>Support Forum - Topic: I want that external links (links to other websites) open in a new window/tab?</title>
		<link>http://www.kriesi.at/support/topic/i-want-that-external-links-links-to-other-websites-open-in-a-new-windowtab</link>
		<description>Support Forum - Topic: I want that external links (links to other websites) open in a new window/tab?</description>
		<language>en-US</language>
		<pubDate>Wed, 19 Jun 2013 13:34:37 +0000</pubDate>
		<generator>http://bbpress.org/?v=1.0.2</generator>
		<textInput>
			<title><![CDATA[Search]]></title>
			<description><![CDATA[Search all topics from these forums.]]></description>
			<name>q</name>
			<link>http://www.kriesi.at/support/search.php</link>
		</textInput>
		<atom:link href="http://www.kriesi.at/support/rss/topic/i-want-that-external-links-links-to-other-websites-open-in-a-new-windowtab" rel="self" type="application/rss+xml" />

		<item>
			<title>Dude on "I want that external links (links to other websites) open in a new window/tab?"</title>
			<link>http://www.kriesi.at/support/topic/i-want-that-external-links-links-to-other-websites-open-in-a-new-windowtab#post-11623</link>
			<pubDate>Thu, 20 Jan 2011 13:04:33 +0000</pubDate>
			<dc:creator>Dude</dc:creator>
			<guid isPermaLink="false">11623@http://www.kriesi.at/support/</guid>
			<description>&#60;p&#62;You have two possibilities. The first methode is W3C valid but has the disadvantage that it needs javascript to work correctly. The second one isn't W3C valid (xhtml standard) but works without javascript.&#60;/p&#62;
&#60;p&#62;1. Open up custom.js and replace:&#60;/p&#62;
&#60;pre&#62;&#60;code&#62;jQuery.noConflict();

jQuery(document).ready(function(){&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;with&#60;br /&#62;
&#60;pre&#62;&#60;code&#62;jQuery.noConflict();

jQuery(document).ready(function(){

jQuery(&#38;quot;a[href^=&#38;#39;http:&#38;#39;]&#38;quot;).not(&#38;quot;[href*=&#38;#39;mydomain.com&#38;#39;]&#38;quot;).attr(&#38;#39;target&#38;#39;,&#38;#39;_blank&#38;#39;);&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;instead of mydomain.com use your domain but without http:// or www. prefix.&#60;/p&#62;
&#60;p&#62;OR:&#60;/p&#62;
&#60;p&#62;2. add target=&#34;_blank&#34; to your links like:&#60;br /&#62;
&#60;pre&#62;&#60;code&#62;&#38;lt;a href=&#38;quot;http://google.com/&#38;quot; target=&#38;quot;_blank&#38;quot;&#38;gt;Google&#38;lt;/a&#38;gt;&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;I'd recommend the first methode however because it's W3C valid and you don't need to add the target attribute to every link.&#60;/p&#62;
&#60;p&#62;3. Alternative:&#60;/p&#62;
&#60;p&#62;If you want to decide on an individual basis (some links should open in a new window but others shouldn't) you can use this W3C valid methode:&#60;/p&#62;
&#60;p&#62;In custom.js replace&#60;br /&#62;
&#60;pre&#62;&#60;code&#62;jQuery.noConflict();

jQuery(document).ready(function(){&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;with&#60;br /&#62;
&#60;pre&#62;&#60;code&#62;jQuery.noConflict();

jQuery(document).ready(function(){

jQuery(function(){jQuery(&#38;#39;a[href][rel*=external]&#38;#39;).each(function(i){this.target = &#38;quot;_blank&#38;quot;;});});&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;and add rel=&#34;external&#34; to links which should open in new windows/tabs like:&#60;/p&#62;
&#60;pre&#62;&#60;code&#62;&#38;lt;a href=&#38;quot;your-external-site.com&#38;quot; rel=&#38;quot;external&#38;quot;&#38;gt;Your Link&#38;lt;/a&#38;gt;&#60;/code&#62;&#60;/pre&#62;</description>
		</item>

	</channel>
</rss>
