<?xml version="1.0" encoding="UTF-8"?><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"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: Open new window, target blank replacement for XHTML Strict code</title>
	<atom:link href="http://www.dazecoop.com/21-10-2008/open-new-window-target-blank-replacement-for-xhtml-strict-code/feed" rel="self" type="application/rss+xml" />
	<link>http://www.dazecoop.com/21-10-2008/open-new-window-target-blank-replacement-for-xhtml-strict-code</link>
	<description>Blog and website of David Cooper from Hampshire, UK. Dazecoop includes drifting photography, car modifying, drift cars, car talk and loads more :)</description>
	<lastBuildDate>Wed, 28 Jul 2010 07:16:33 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
	<item>
		<title>By: Bogdan Cluj</title>
		<link>http://www.dazecoop.com/21-10-2008/open-new-window-target-blank-replacement-for-xhtml-strict-code/comment-page-1#comment-98973</link>
		<dc:creator>Bogdan Cluj</dc:creator>
		<pubDate>Wed, 24 Jun 2009 09:59:56 +0000</pubDate>
		<guid isPermaLink="false">http://www.dazecoop.co.uk/?p=450#comment-98973</guid>
		<description>Very great stuff. finally can validate xhtml strict and put my links in blank. Thanks a lot !</description>
		<content:encoded><![CDATA[<p>Very great stuff. finally can validate xhtml strict and put my links in blank. Thanks a lot !</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Daze</title>
		<link>http://www.dazecoop.com/21-10-2008/open-new-window-target-blank-replacement-for-xhtml-strict-code/comment-page-1#comment-75603</link>
		<dc:creator>Daze</dc:creator>
		<pubDate>Thu, 23 Oct 2008 00:17:08 +0000</pubDate>
		<guid isPermaLink="false">http://www.dazecoop.co.uk/?p=450#comment-75603</guid>
		<description>Cool beans, thanks for your thoughts on this. Very interesting. I liked your code quite a bit... so I&#039;ve gone &amp; written another post about it, jQuery-equivillent. 

... Also just found that - I think - my blog is not yet showing trackbacks / pingbacks. My bad!</description>
		<content:encoded><![CDATA[<p>Cool beans, thanks for your thoughts on this. Very interesting. I liked your code quite a bit&#8230; so I&#8217;ve gone &#038; written another post about it, jQuery-equivillent. </p>
<p>&#8230; Also just found that &#8211; I think &#8211; my blog is not yet showing trackbacks / pingbacks. My bad!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jasper</title>
		<link>http://www.dazecoop.com/21-10-2008/open-new-window-target-blank-replacement-for-xhtml-strict-code/comment-page-1#comment-75570</link>
		<dc:creator>Jasper</dc:creator>
		<pubDate>Wed, 22 Oct 2008 18:39:44 +0000</pubDate>
		<guid isPermaLink="false">http://www.dazecoop.co.uk/?p=450#comment-75570</guid>
		<description>If you care about your stats then it&#039;s a good idea to as it drastically lowers your bounce rate, but I prefer to let people decide whether they want to stay or not.

mootools looks the same as normal javascript imo - especially that as there&#039;s only really 3 functions in there that are part of mootools and they hook into existing javascript objects :D there are $ functions, but I don&#039;t tend to use them a lot as they&#039;re there as part of the core and are folded into higher level libraries.</description>
		<content:encoded><![CDATA[<p>If you care about your stats then it&#8217;s a good idea to as it drastically lowers your bounce rate, but I prefer to let people decide whether they want to stay or not.</p>
<p>mootools looks the same as normal javascript imo &#8211; especially that as there&#8217;s only really 3 functions in there that are part of mootools and they hook into existing javascript objects <img src='http://www.dazecoop.com/wp-includes/images/smilies/icon_biggrin.gif' alt=':D' class='wp-smiley' />  there are $ functions, but I don&#8217;t tend to use them a lot as they&#8217;re there as part of the core and are folded into higher level libraries.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Daze</title>
		<link>http://www.dazecoop.com/21-10-2008/open-new-window-target-blank-replacement-for-xhtml-strict-code/comment-page-1#comment-75563</link>
		<dc:creator>Daze</dc:creator>
		<pubDate>Wed, 22 Oct 2008 17:49:17 +0000</pubDate>
		<guid isPermaLink="false">http://www.dazecoop.co.uk/?p=450#comment-75563</guid>
		<description>Ah yeh fair play. Looking at that code, I understand it and it doesn&#039;t look too far off of jQuery - I guess afterall it is based on the same structure...

I think though, agreeing with Jasper here, that external links should indeed open in a new window in almost all cases - but that&#039;s just me :)</description>
		<content:encoded><![CDATA[<p>Ah yeh fair play. Looking at that code, I understand it and it doesn&#8217;t look too far off of jQuery &#8211; I guess afterall it is based on the same structure&#8230;</p>
<p>I think though, agreeing with Jasper here, that external links should indeed open in a new window in almost all cases &#8211; but that&#8217;s just me <img src='http://www.dazecoop.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jasper</title>
		<link>http://www.dazecoop.com/21-10-2008/open-new-window-target-blank-replacement-for-xhtml-strict-code/comment-page-1#comment-75553</link>
		<dc:creator>Jasper</dc:creator>
		<pubDate>Wed, 22 Oct 2008 16:51:55 +0000</pubDate>
		<guid isPermaLink="false">http://www.dazecoop.co.uk/?p=450#comment-75553</guid>
		<description>I agree with Colin - I&#039;ll open in a new window if I want - but when it&#039;s invariably thrust upon me that links should open in a new window, I used this for external links (mootools warning :p)

var externallinks = function(){
	document.getElements(&#039;a&#039;).addEvent(&#039;click&#039;,function(){
		if (this.get(&#039;href&#039;).toString().substr(0,7) == &#039;http://&#039; &amp;&amp; (this.get(&#039;href&#039;).toString().match(/^http:\/\/[(www.)]*do1\.uk\.com/) == null)){
			window.open(this.get(&#039;href&#039;));
			return false;
		}
		return true;
	});
}</description>
		<content:encoded><![CDATA[<p>I agree with Colin &#8211; I&#8217;ll open in a new window if I want &#8211; but when it&#8217;s invariably thrust upon me that links should open in a new window, I used this for external links (mootools warning :p)</p>
<p>var externallinks = function(){<br />
	document.getElements(&#8216;a&#8217;).addEvent(&#8216;click&#8217;,function(){<br />
		if (this.get(&#8216;href&#8217;).toString().substr(0,7) == &#8216;http://&#8217; &amp;&amp; (this.get(&#8216;href&#8217;).toString().match(/^http:\/\/[(www.)]*do1\.uk\.com/) == null)){<br />
			window.open(this.get(&#8216;href&#8217;));<br />
			return false;<br />
		}<br />
		return true;<br />
	});<br />
}</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Daze</title>
		<link>http://www.dazecoop.com/21-10-2008/open-new-window-target-blank-replacement-for-xhtml-strict-code/comment-page-1#comment-75498</link>
		<dc:creator>Daze</dc:creator>
		<pubDate>Wed, 22 Oct 2008 07:23:52 +0000</pubDate>
		<guid isPermaLink="false">http://www.dazecoop.co.uk/?p=450#comment-75498</guid>
		<description>Well.... I sort&#039;a changed the way you showed me a little bit, but um...
visit http://www.bajb.net/ for cool stuff :P</description>
		<content:encoded><![CDATA[<p>Well&#8230;. I sort&#8217;a changed the way you showed me a little bit, but um&#8230;<br />
visit <a href="http://www.bajb.net/" rel="nofollow"></a><a href='http://www.bajb.net/'>http://www.bajb.net/</a> for cool stuff <img src='http://www.dazecoop.com/wp-includes/images/smilies/icon_razz.gif' alt=':P' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Brooke Bryan</title>
		<link>http://www.dazecoop.com/21-10-2008/open-new-window-target-blank-replacement-for-xhtml-strict-code/comment-page-1#comment-75449</link>
		<dc:creator>Brooke Bryan</dc:creator>
		<pubDate>Tue, 21 Oct 2008 23:08:07 +0000</pubDate>
		<guid isPermaLink="false">http://www.dazecoop.co.uk/?p=450#comment-75449</guid>
		<description>So, no links back to my site after I showed you this little cool feature ;)</description>
		<content:encoded><![CDATA[<p>So, no links back to my site after I showed you this little cool feature <img src='http://www.dazecoop.com/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Daze</title>
		<link>http://www.dazecoop.com/21-10-2008/open-new-window-target-blank-replacement-for-xhtml-strict-code/comment-page-1#comment-75407</link>
		<dc:creator>Daze</dc:creator>
		<pubDate>Tue, 21 Oct 2008 16:13:15 +0000</pubDate>
		<guid isPermaLink="false">http://www.dazecoop.co.uk/?p=450#comment-75407</guid>
		<description>I sort of agree with you, but in some cases its just a requirement (I think) for some links to open in a new window or tab.

Also (just tested), but the above code, as default, opens in a new tab not a completely new windows - at least on Firefox 3.x on OSX...

You&#039;ll notice some of the links on this site have the above code applied to them :)</description>
		<content:encoded><![CDATA[<p>I sort of agree with you, but in some cases its just a requirement (I think) for some links to open in a new window or tab.</p>
<p>Also (just tested), but the above code, as default, opens in a new tab not a completely new windows &#8211; at least on Firefox 3.x on OSX&#8230;</p>
<p>You&#8217;ll notice some of the links on this site have the above code applied to them <img src='http://www.dazecoop.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Collin</title>
		<link>http://www.dazecoop.com/21-10-2008/open-new-window-target-blank-replacement-for-xhtml-strict-code/comment-page-1#comment-75406</link>
		<dc:creator>Collin</dc:creator>
		<pubDate>Tue, 21 Oct 2008 16:10:23 +0000</pubDate>
		<guid isPermaLink="false">http://www.dazecoop.co.uk/?p=450#comment-75406</guid>
		<description>That&#039;s all fine and dandy but in removing the requirement for the depracated &quot;_blank&quot; target you&#039;re still breaking widely acknowledged &quot;netiquette&quot; by forcing the link to open in a new window or tab.

I much prefer to allow the user to control where they want the new link to open - as does most of the rest of the web!</description>
		<content:encoded><![CDATA[<p>That&#8217;s all fine and dandy but in removing the requirement for the depracated &#8220;_blank&#8221; target you&#8217;re still breaking widely acknowledged &#8220;netiquette&#8221; by forcing the link to open in a new window or tab.</p>
<p>I much prefer to allow the user to control where they want the new link to open &#8211; as does most of the rest of the web!</p>
]]></content:encoded>
	</item>
</channel>
</rss>
