<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/">
<channel>
<title>Snipplr</title>
<link>http://snipplr.com/language/javascript/tags/new</link>
<description>Recent snippets posted on Snipplr.com</description>
<language>en-us</language>
<pubDate>Fri, 05 Sep 2008 01:56:37 GMT</pubDate>
<item>
<title>(JavaScript) Standards Compliant Open in new Window - donnies38</title>
<link>http://snipplr.com/view/3364/standards-compliant-open-in-new-window/</link>
<description><![CDATA[ <p></p> ]]></description>
<pubDate>Tue, 24 Jul 2007 08:24:43 GMT</pubDate>
<guid>http://snipplr.com/view/3364/standards-compliant-open-in-new-window/</guid>
</item>
<item>
<title>(JavaScript) Open New Window Using REL External Instead of Deprecated Target Attribute - jonhenshaw</title>
<link>http://snipplr.com/view/3047/open-new-window-using-rel-external-instead-of-deprecated-target-attribute/</link>
<description><![CDATA[ <p>Excellent Script for opening new windows from links while adhering to modern HTML/XHTML standards. Simple put rel="nofollow" in the anchor and link to the script within the HEAD.

I prefer to remove the text that states the link opens in an external windows. To do that, simply change this part of the last line from this:
("rel","external"," (external website, opens in a new window)")

to this:
("rel","external","")</p> ]]></description>
<pubDate>Tue, 26 Jun 2007 14:52:15 GMT</pubDate>
<guid>http://snipplr.com/view/3047/open-new-window-using-rel-external-instead-of-deprecated-target-attribute/</guid>
</item>
<item>
<title>(JavaScript) Inline new window javascript (pop-up) - mountainash</title>
<link>http://snipplr.com/view/2591/inline-new-window-javascript-popup/</link>
<description><![CDATA[ <p>This code is very streamlined and a good in-line replacement for XHTML validation (target attribute is depreciated). When you can use the DOM to find the links with external JS (see my rel method). Works well if JavaScript is not supported and still allows for user over-ride (ie. new window or new tab).</p> ]]></description>
<pubDate>Thu, 03 May 2007 03:06:14 GMT</pubDate>
<guid>http://snipplr.com/view/2591/inline-new-window-javascript-popup/</guid>
</item>
<item>
<title>(JavaScript) Standard Compliant Way to Open A New Page Function - 1man</title>
<link>http://snipplr.com/view/2245/standard-compliant-way-to-open-a-new-page-function/</link>
<description><![CDATA[ <p>This function allows you to open a new window, without using any inline Javascript. Simply add rel="external" to the link you wish to open in a new window.</p> ]]></description>
<pubDate>Thu, 08 Mar 2007 03:11:32 GMT</pubDate>
<guid>http://snipplr.com/view/2245/standard-compliant-way-to-open-a-new-page-function/</guid>
</item>
<item>
<title>(JavaScript) Opening New Windows With JavaScript, Version 1.2 - jonhenshaw</title>
<link>http://snipplr.com/view/1402/opening-new-windows-with-javascript-version-12/</link>
<description><![CDATA[ <p>A an excellent script for allowing links to open new windows while keeping the code standards compliant.

If you look at the last line of the script, you will notice that the JSTarget.init() function takes three parameters (all optional). This is what makes this script more flexible than the previous versions.</p> ]]></description>
<pubDate>Thu, 12 Oct 2006 19:48:00 GMT</pubDate>
<guid>http://snipplr.com/view/1402/opening-new-windows-with-javascript-version-12/</guid>
</item>
<item>
<title>(JavaScript) Replace newlines with BR (platform safe) - cochambre</title>
<link>http://snipplr.com/view/634/replace-newlines-with-br-platform-safe/</link>
<description><![CDATA[ <p></p> ]]></description>
<pubDate>Wed, 02 Aug 2006 09:00:01 GMT</pubDate>
<guid>http://snipplr.com/view/634/replace-newlines-with-br-platform-safe/</guid>
</item>
<item>
<title>(JavaScript) Javascript Popup with Blocking detection - cochambre</title>
<link>http://snipplr.com/view/365/javascript-popup-with-blocking-detection/</link>
<description><![CDATA[ <p></p> ]]></description>
<pubDate>Wed, 12 Jul 2006 11:11:15 GMT</pubDate>
<guid>http://snipplr.com/view/365/javascript-popup-with-blocking-detection/</guid>
</item>
</channel>
</rss>