<?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: Javascript Popup with graceful fallback</title>
	<atom:link href="http://www.reynacho.com/2008/03/javascript-popup-with-graceful-fallback/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.reynacho.com/2008/03/javascript-popup-with-graceful-fallback/</link>
	<description>... on Flex, ColdFusion, FarCry, and much more ...</description>
	<lastBuildDate>Tue, 09 Feb 2010 18:36:43 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.5</generator>
	<item>
		<title>By: Jake Churchill</title>
		<link>http://www.reynacho.com/2008/03/javascript-popup-with-graceful-fallback/comment-page-1/#comment-639</link>
		<dc:creator>Jake Churchill</dc:creator>
		<pubDate>Tue, 24 Jun 2008 20:50:28 +0000</pubDate>
		<guid isPermaLink="false">http://jake.cfwebtools.com/2008/03/26/javascript-popup-with-graceful-fallback/#comment-639</guid>
		<description>Your code will work as well.  However, it provides for far fewer options and technically the &quot;target&quot; attribute is not a valid attribute in strict typing HTML or xHTML.  See this site:  http://www.w3.org/MarkUp/2004/xhtml-faq#target</description>
		<content:encoded><![CDATA[<p>Your code will work as well.  However, it provides for far fewer options and technically the &#8220;target&#8221; attribute is not a valid attribute in strict typing HTML or xHTML.  See this site:  <a href="http://www.w3.org/MarkUp/2004/xhtml-faq#target">http://www.w3.org/MarkUp/2004/xhtml-faq#target</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Sebastiaan</title>
		<link>http://www.reynacho.com/2008/03/javascript-popup-with-graceful-fallback/comment-page-1/#comment-109</link>
		<dc:creator>Sebastiaan</dc:creator>
		<pubDate>Fri, 28 Mar 2008 12:24:25 +0000</pubDate>
		<guid isPermaLink="false">http://jake.cfwebtools.com/2008/03/26/javascript-popup-with-graceful-fallback/#comment-109</guid>
		<description>That was a lot of code for such a simple thing ;-)
Here&#039;s a smaller, usable, accessible and CSS/HTML/JS compliant method:

function externalLinks() { 
 if (!document.getElementsByTagName) return; 
 var anchors = document.getElementsByTagName(&quot;a&quot;); 
 for (var i=0; i&lt;anchors.length; i++) { 
   var anchor = anchors[i]; 
   if (anchor.getAttribute(&quot;href&quot;) &amp;&amp; 
       anchor.getAttribute(&quot;rel&quot;) == &quot;external&quot;) 
     anchor.target = &quot;_blank&quot;; 
 } 
} 
window.onload = externalLinks;

All you do is add rel=&quot;external&quot; to all your links (the image to the right of the link you fix via CSS, not JS). Best is to load this little piece of script at the end of the pageload.

Greetings from the Netherlands</description>
		<content:encoded><![CDATA[<p>That was a lot of code for such a simple thing <img src='http://www.reynacho.com/wp-includes/images/smilies/icon_wink.gif' alt=';-)' class='wp-smiley' /><br />
Here&#8217;s a smaller, usable, accessible and CSS/HTML/JS compliant method:</p>
<p>function externalLinks() {<br />
 if (!document.getElementsByTagName) return;<br />
 var anchors = document.getElementsByTagName(&#8220;a&#8221;);<br />
 for (var i=0; i&lt;anchors.length; i++) {<br />
   var anchor = anchors[i];<br />
   if (anchor.getAttribute(&#8220;href&#8221;) &amp;&amp;<br />
       anchor.getAttribute(&#8220;rel&#8221;) == &#8220;external&#8221;)<br />
     anchor.target = &#8220;_blank&#8221;;<br />
 }<br />
}<br />
window.onload = externalLinks;</p>
<p>All you do is add rel=&#8221;external&#8221; to all your links (the image to the right of the link you fix via CSS, not JS). Best is to load this little piece of script at the end of the pageload.</p>
<p>Greetings from the Netherlands</p>
]]></content:encoded>
	</item>
</channel>
</rss>

