<?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>João Prado Maia's Weblog &#187; IE hacks</title>
	<atom:link href="http://pessoal.org/blog/category/ie-hacks/feed/" rel="self" type="application/rss+xml" />
	<link>http://pessoal.org/blog</link>
	<description></description>
	<lastBuildDate>Tue, 11 Aug 2009 00:42:33 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=abc</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Drip: memory leak detector for IE</title>
		<link>http://pessoal.org/blog/2008/03/18/drip-memory-leak-detector-for-ie/</link>
		<comments>http://pessoal.org/blog/2008/03/18/drip-memory-leak-detector-for-ie/#comments</comments>
		<pubDate>Tue, 18 Mar 2008 15:35:46 +0000</pubDate>
		<dc:creator>jpm</dc:creator>
				<category><![CDATA[IE hacks]]></category>
		<category><![CDATA[JavaScript]]></category>
		<category><![CDATA[Performance Tuning]]></category>

		<guid isPermaLink="false">http://pessoal.org/blog/2008/03/18/drip-memory-leak-detector-for-ie/</guid>
		<description><![CDATA[I found out about Drip through John Resig&#8217;s Secrets of JavaScript Libraries panel at SXSW this year. Unfortunately I couldn&#8217;t attend his panel, but the presentation document seems like a good read.
Anyway, Drip is a memory leak detector application for Internet Explorer. It basically runs IE within the application itself, and analyzes the memory usage [...]]]></description>
			<content:encoded><![CDATA[<p>I found out about <a href="http://www.outofhanwell.com/ieleak/index.php?title=Main_Page">Drip</a> through John Resig&#8217;s <a href="http://www.slideshare.net/jeresig/secrets-of-javascript-libraries">Secrets of JavaScript Libraries</a> panel at SXSW this year. Unfortunately I couldn&#8217;t attend his panel, but the presentation document seems like a good read.</p>
<p>Anyway, Drip is a memory leak detector application for Internet Explorer. It basically runs IE within the application itself, and analyzes the memory usage for any leaks. Seems really really useful, and just by playing with it for a few minutes I already found a couple of pieces of code to fix.</p>
]]></content:encoded>
			<wfw:commentRss>http://pessoal.org/blog/2008/03/18/drip-memory-leak-detector-for-ie/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>IE8 performance improvements</title>
		<link>http://pessoal.org/blog/2008/03/12/ie8-performance-improvements/</link>
		<comments>http://pessoal.org/blog/2008/03/12/ie8-performance-improvements/#comments</comments>
		<pubDate>Wed, 12 Mar 2008 19:03:49 +0000</pubDate>
		<dc:creator>jpm</dc:creator>
				<category><![CDATA[IE hacks]]></category>

		<guid isPermaLink="false">http://pessoal.org/blog/2008/03/12/ie8-performance-improvements/</guid>
		<description><![CDATA[Steve Souders wrote some thoughts on performance improvements happening in IE8, with their change to support 6 parallel downloads from the same hostname at the same time.
Previously IE would download and execute the JavaScript files in sequence, to make sure that no changes to the DOM would happen in the wrong order. Now IE8 downloads [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.stevesouders.com/blog/2008/03/10/ie8-speeds-things-up/">Steve Souders wrote some thoughts</a> on performance improvements happening in IE8, with their change to support 6 parallel downloads from the same hostname at the same time.</p>
<p>Previously IE would download and execute the JavaScript files in sequence, to make sure that no changes to the DOM would happen in the wrong order. Now IE8 downloads all script files in parallel (up to the new limit of 6 downloads at a time), and then will execute them in sequence.</p>
<p>According to Steve, there&#8217;s a big difference for some sites. Facebook for instance takes a 80% performance gain while using IE8 and having an empty cache.</p>
<p>By the way, I didn&#8217;t know Steve had a blog &#8212; Subscribed.</p>
]]></content:encoded>
			<wfw:commentRss>http://pessoal.org/blog/2008/03/12/ie8-performance-improvements/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Changing image src attribute reliably in Internet Explorer</title>
		<link>http://pessoal.org/blog/2008/02/18/changing-image-src-attribute-reliably-in-internet-explorer/</link>
		<comments>http://pessoal.org/blog/2008/02/18/changing-image-src-attribute-reliably-in-internet-explorer/#comments</comments>
		<pubDate>Tue, 19 Feb 2008 03:45:05 +0000</pubDate>
		<dc:creator>jpm</dc:creator>
				<category><![CDATA[IE hacks]]></category>
		<category><![CDATA[JavaScript]]></category>

		<guid isPermaLink="false">http://pessoal.org/blog/?p=57</guid>
		<description><![CDATA[I just spent quite a bit of time debugging this silly problem on Insightory.com, where the document control buttons were not working under Internet Explorer. Since it might be useful to somebody else, I&#8217;m going to document the solution here.
The problem was that the document browsing control buttons, which look like the following:

&#60;img src="/blog/browse_controls.png" />

They [...]]]></description>
			<content:encoded><![CDATA[<p>I just spent quite a bit of time debugging this silly problem on Insightory.com, where the document control buttons were not working under Internet Explorer. Since it might be useful to somebody else, I&#8217;m going to document the solution here.</p>
<p>The problem was that the document browsing control buttons, which look like the following:</p>
<p><code><br />
&lt;img src="/blog/browse_controls.png" /><br />
</code></p>
<p>They were implemented by doing something similar to this:</p>
<p><code><br />
&lt;a href="javascript:void(null);" onClick="javascript:openNextPage();" class="nextpage">&lt;img src="/images/nextpagebutton.gif" alt="Next page" />&lt;/a><br />
</code></p>
<p>And then inside the <tt>openNextPage</tt> function, I swap the image by changing the <tt>src</tt> attribute of the image tag. Pretty standard, and works perfectly under Firefox.</p>
<p>Long story short, the <tt>javascript:void(null);</tt> bit is what is breaking Internet Explorer (IE6 on this case). Changing the XHTML code to look like the following fixes the problem completely for me:</p>
<p><code><br />
&lt;a href="javascript:openNextPage();" class="nextpage">&lt;img src="/images/nextpagebutton.gif" alt="Next page" />&lt;/a><br />
</code></p>
<p>I found out the culprit by (obviously) searching Google for a long time, and then finding <a href="http://www.webdeveloper.com/forum/archive/index.php/t-99122.html">this thread on WebDeveloper.com</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://pessoal.org/blog/2008/02/18/changing-image-src-attribute-reliably-in-internet-explorer/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
