<?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"
	>
<channel>
	<title>Comments on: Quick and Dirty JavaScript Pop-Up Windows</title>
	<atom:link href="http://blog.ninedays.org/2007/11/09/quick-and-dirty-javascript-pop-up-windows/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.ninedays.org/2007/11/09/quick-and-dirty-javascript-pop-up-windows/</link>
	<description>web development, photography, tutorials and adventure</description>
	<pubDate>Tue, 06 Jan 2009 10:55:02 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.6.5</generator>
		<item>
		<title>By: Amy</title>
		<link>http://blog.ninedays.org/2007/11/09/quick-and-dirty-javascript-pop-up-windows/#comment-62</link>
		<dc:creator>Amy</dc:creator>
		<pubDate>Wed, 28 Nov 2007 18:46:46 +0000</pubDate>
		<guid isPermaLink="false">http://blog.ninedays.org/2007/11/09/quick-and-dirty-javascript-pop-up-windows/#comment-62</guid>
		<description>&lt;p&gt;Great sample to have onhand!&lt;/p&gt;

&lt;p&gt;Another thing you can do is have that function return false and then your onclick can just return the function.&lt;/p&gt;

&lt;p&gt;Like this:&lt;/p&gt;

&lt;pre&gt;&lt;code&gt;function popWin(URL, winWidth, winHeight) {
    [...]
    eval("page" + id + ".focus()");
    return false;
}
[...]
&#60;a href="page_to_open.html" onclick="return popWin(this.href, 650, 450);"&#62;Open pop-up window&#60;/a&#62;
&lt;/code&gt;&lt;/pre&gt;
</description>
		<content:encoded><![CDATA[<p>Great sample to have onhand!</p>

<p>Another thing you can do is have that function return false and then your onclick can just return the function.</p>

<p>Like this:</p>

<pre><code>function popWin(URL, winWidth, winHeight) {
    [...]
    eval("page" + id + ".focus()");
    return false;
}
[...]
&lt;a href="page_to_open.html" onclick="return popWin(this.href, 650, 450);"&gt;Open pop-up window&lt;/a&gt;
</code></pre>]]></content:encoded>
	</item>
</channel>
</rss>
