<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	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/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>The Bright Lines &#187; popup</title>
	<atom:link href="http://www.thebrightlines.com/tag/popup/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.thebrightlines.com</link>
	<description>HTML, CSS, Javascript and more</description>
	<lastBuildDate>Thu, 29 Jul 2010 22:44:34 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.4</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Popups dodging popup blockers</title>
		<link>http://www.thebrightlines.com/2009/10/29/popups-dodging-popup-blockers/</link>
		<comments>http://www.thebrightlines.com/2009/10/29/popups-dodging-popup-blockers/#comments</comments>
		<pubDate>Thu, 29 Oct 2009 21:29:41 +0000</pubDate>
		<dc:creator>Wouter Bos</dc:creator>
				<category><![CDATA[JavaScript]]></category>
		<category><![CDATA[popup]]></category>
		<category><![CDATA[security]]></category>

		<guid isPermaLink="false">http://www.thebrightlines.com/?p=66</guid>
		<description><![CDATA[Popup blockers are everywhere, but that doesn't mean we can't do popups anymore.]]></description>
			<content:encoded><![CDATA[<p><img class="alignleft" title="Popups" src="/article-data/images/popups.png" alt="" width="150" height="150" />A few days ago a collegue asked how he could create a link to another page with Javascript that would open in a new window. He reckoned that since the emergence of the popup blockers it&#8217;s impossible to create a popup of any sorts with Javascript. Not true, but understandable. Popup blockers changed the world and protected us ever since from both irritating bannering and designers that didn&#8217;t care about usability. And there are valid solutions like absolute positioned blocks.</p>
<p>Anyway: most popup blockers only block popups that open without any user interaction. If you use an <code>onclick</code> event to open a new window, it will be ignored by convention.</p>
<p>What&#8217;s creepy by the way is that you could open multiple popups in one click like this:</p>
<pre name="code" class="javascript">
<a href="javascript:window.open();window.open();window.open();window.open();void(0)">open popups</a>
</pre>


<p>No related posts.</p>]]></content:encoded>
			<wfw:commentRss>http://www.thebrightlines.com/2009/10/29/popups-dodging-popup-blockers/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
