<?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: No More IE6 Background Flicker</title>
	<atom:link href="http://ajaxian.com/archives/no-more-ie6-background-flicker/feed" rel="self" type="application/rss+xml" />
	<link>http://ajaxian.com/archives/no-more-ie6-background-flicker</link>
	<description>Cleaning up the web with Ajax</description>
	<lastBuildDate>Thu, 17 May 2012 07:43:39 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.2</generator>
	<item>
		<title>By: Imenik</title>
		<link>http://ajaxian.com/archives/no-more-ie6-background-flicker/comment-page-1#comment-259029</link>
		<dc:creator>Imenik</dc:creator>
		<pubDate>Mon, 19 Nov 2007 18:46:01 +0000</pubDate>
		<guid isPermaLink="false">http://ajaxian.com/archives/no-more-ie6-background-flicker#comment-259029</guid>
		<description>Works out fine for me too , thanks for sharing this tutorial with us.</description>
		<content:encoded><![CDATA[<p>Works out fine for me too , thanks for sharing this tutorial with us.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Friseur Muc</title>
		<link>http://ajaxian.com/archives/no-more-ie6-background-flicker/comment-page-1#comment-254245</link>
		<dc:creator>Friseur Muc</dc:creator>
		<pubDate>Tue, 21 Aug 2007 18:02:23 +0000</pubDate>
		<guid isPermaLink="false">http://ajaxian.com/archives/no-more-ie6-background-flicker#comment-254245</guid>
		<description>It seems, the problem is in IE7 too?</description>
		<content:encoded><![CDATA[<p>It seems, the problem is in IE7 too?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: H. Dufort</title>
		<link>http://ajaxian.com/archives/no-more-ie6-background-flicker/comment-page-1#comment-250771</link>
		<dc:creator>H. Dufort</dc:creator>
		<pubDate>Thu, 24 May 2007 02:19:23 +0000</pubDate>
		<guid isPermaLink="false">http://ajaxian.com/archives/no-more-ie6-background-flicker#comment-250771</guid>
		<description>This solution is great but it breaks mouse event support in Opera 9. Events are stacked but never executed. Then, when you close the page or reload it, they ALL fire up at once! So it&#039;s a good idea to try to apply this fix only on MSIE.</description>
		<content:encoded><![CDATA[<p>This solution is great but it breaks mouse event support in Opera 9. Events are stacked but never executed. Then, when you close the page or reload it, they ALL fire up at once! So it&#8217;s a good idea to try to apply this fix only on MSIE.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Luke</title>
		<link>http://ajaxian.com/archives/no-more-ie6-background-flicker/comment-page-1#comment-248964</link>
		<dc:creator>Luke</dc:creator>
		<pubDate>Tue, 03 Apr 2007 06:15:21 +0000</pubDate>
		<guid isPermaLink="false">http://ajaxian.com/archives/no-more-ie6-background-flicker#comment-248964</guid>
		<description>your a star!

I love it....no thinking required ;-)</description>
		<content:encoded><![CDATA[<p>your a star!</p>
<p>I love it&#8230;.no thinking required ;-)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Fabian Robok</title>
		<link>http://ajaxian.com/archives/no-more-ie6-background-flicker/comment-page-1#comment-209756</link>
		<dc:creator>Fabian Robok</dc:creator>
		<pubDate>Sat, 25 Nov 2006 18:15:35 +0000</pubDate>
		<guid isPermaLink="false">http://ajaxian.com/archives/no-more-ie6-background-flicker#comment-209756</guid>
		<description>There&#039;s one big misconception about browser sniffing: Looking at the user agent string might be bad, but not simply because of itself. It&#039;s bad because it will never tell you for sure if the browser providing this user agent string will or will not support a certain feature. On the other hand, checking for a specific browser feature (or it&#039;s absence) will never tell you for sure which browser is making a request.

So, always check for the exact browser property you intend to use. Do &lt;b&gt;not&lt;/b&gt; check for some property, that is completely &lt;i&gt;unrelated&lt;/i&gt; to the problem (like document.body.style.maxHeight in this case) just to try and identify a certain browser version. This is at least as bad as relying on user agent strings.</description>
		<content:encoded><![CDATA[<p>There&#8217;s one big misconception about browser sniffing: Looking at the user agent string might be bad, but not simply because of itself. It&#8217;s bad because it will never tell you for sure if the browser providing this user agent string will or will not support a certain feature. On the other hand, checking for a specific browser feature (or it&#8217;s absence) will never tell you for sure which browser is making a request.</p>
<p>So, always check for the exact browser property you intend to use. Do <b>not</b> check for some property, that is completely <i>unrelated</i> to the problem (like document.body.style.maxHeight in this case) just to try and identify a certain browser version. This is at least as bad as relying on user agent strings.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jeffrey</title>
		<link>http://ajaxian.com/archives/no-more-ie6-background-flicker/comment-page-1#comment-198892</link>
		<dc:creator>Jeffrey</dc:creator>
		<pubDate>Tue, 21 Nov 2006 17:19:26 +0000</pubDate>
		<guid isPermaLink="false">http://ajaxian.com/archives/no-more-ie6-background-flicker#comment-198892</guid>
		<description>Here&#039;s my mini-IE6 detector.  IE7 doesn&#039;t exhibit the flicker problem so why do anything?  This will probably fire on IE5, IE5.5, etc. but who should really be using those anyway? ;)

&lt;code&gt;
//-- for IE6 but not IE7, Moz, Safari, Opera...
if (typeof document.body.style.maxHeight == &quot;undefined&quot;) {
	try {
	  document.execCommand(&#039;BackgroundImageCache&#039;, false, true);
	} catch(e) { /* unless it&#039;s not IE6... */ }
} // if
&lt;/code&gt;</description>
		<content:encoded><![CDATA[<p>Here&#8217;s my mini-IE6 detector.  IE7 doesn&#8217;t exhibit the flicker problem so why do anything?  This will probably fire on IE5, IE5.5, etc. but who should really be using those anyway? ;)</p>
<p><code><br />
//-- for IE6 but not IE7, Moz, Safari, Opera...<br />
if (typeof document.body.style.maxHeight == "undefined") {<br />
	try {<br />
	  document.execCommand('BackgroundImageCache', false, true);<br />
	} catch(e) { /* unless it's not IE6... */ }<br />
} // if<br />
</code></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: My Blog</title>
		<link>http://ajaxian.com/archives/no-more-ie6-background-flicker/comment-page-1#comment-117190</link>
		<dc:creator>My Blog</dc:creator>
		<pubDate>Fri, 06 Oct 2006 14:07:30 +0000</pubDate>
		<guid isPermaLink="false">http://ajaxian.com/archives/no-more-ie6-background-flicker#comment-117190</guid>
		<description>&lt;strong&gt;No More IE6 Background Flicker&lt;/strong&gt;

</description>
		<content:encoded><![CDATA[<p><strong>No More IE6 Background Flicker</strong></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Dan POPA</title>
		<link>http://ajaxian.com/archives/no-more-ie6-background-flicker/comment-page-1#comment-107293</link>
		<dc:creator>Dan POPA</dc:creator>
		<pubDate>Wed, 27 Sep 2006 21:26:10 +0000</pubDate>
		<guid isPermaLink="false">http://ajaxian.com/archives/no-more-ie6-background-flicker#comment-107293</guid>
		<description>The BackgroundImageCache command identifier was introduced by IE6 SP1.It will actually generate a JavaScript error in IE prior to that vesion.
So, someone might want to really sniff for IE6 gte IE6 SP1.
Check my site for details or go directly to the 
&lt;a href=&quot;http://support.microsoft.com/default.aspx?scid=kb%3Ben-us%3B823727&quot; rel=&quot;nofollow&quot;&gt;Microsoft KB article&lt;/a&gt;.

The easiest thing to do is to stuff the command into any browser, without mercy, hidding the garbage inside a try{}catch(){}</description>
		<content:encoded><![CDATA[<p>The BackgroundImageCache command identifier was introduced by IE6 SP1.It will actually generate a JavaScript error in IE prior to that vesion.<br />
So, someone might want to really sniff for IE6 gte IE6 SP1.<br />
Check my site for details or go directly to the<br />
<a href="http://support.microsoft.com/default.aspx?scid=kb%3Ben-us%3B823727" rel="nofollow">Microsoft KB article</a>.</p>
<p>The easiest thing to do is to stuff the command into any browser, without mercy, hidding the garbage inside a try{}catch(){}</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Arno</title>
		<link>http://ajaxian.com/archives/no-more-ie6-background-flicker/comment-page-1#comment-107257</link>
		<dc:creator>Arno</dc:creator>
		<pubDate>Wed, 27 Sep 2006 20:34:51 +0000</pubDate>
		<guid isPermaLink="false">http://ajaxian.com/archives/no-more-ie6-background-flicker#comment-107257</guid>
		<description>Seems to be fixed with todays security patch for some reason.

I had the problem and did the fix but found out later that it was fixed without this hack too.
Can anyone confirm this? Would this be a positive message for IE6 for once ;-)</description>
		<content:encoded><![CDATA[<p>Seems to be fixed with todays security patch for some reason.</p>
<p>I had the problem and did the fix but found out later that it was fixed without this hack too.<br />
Can anyone confirm this? Would this be a positive message for IE6 for once ;-)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jason Kichline</title>
		<link>http://ajaxian.com/archives/no-more-ie6-background-flicker/comment-page-1#comment-107046</link>
		<dc:creator>Jason Kichline</dc:creator>
		<pubDate>Wed, 27 Sep 2006 15:32:57 +0000</pubDate>
		<guid isPermaLink="false">http://ajaxian.com/archives/no-more-ie6-background-flicker#comment-107046</guid>
		<description>Why not use conditional comments already supported by all versions of IE?


document.execCommand(â€BackgroundImageCacheâ€, false,true);
</description>
		<content:encoded><![CDATA[<p>Why not use conditional comments already supported by all versions of IE?</p>
<p>document.execCommand(â€BackgroundImageCacheâ€, false,true);</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Klaus Hartl - StilbÃ¼ro : Flicker Fixed</title>
		<link>http://ajaxian.com/archives/no-more-ie6-background-flicker/comment-page-1#comment-106785</link>
		<dc:creator>Klaus Hartl - StilbÃ¼ro : Flicker Fixed</dc:creator>
		<pubDate>Wed, 27 Sep 2006 07:18:31 +0000</pubDate>
		<guid isPermaLink="false">http://ajaxian.com/archives/no-more-ie6-background-flicker#comment-106785</guid>
		<description>[...] Via Ajaxian. [...]</description>
		<content:encoded><![CDATA[<p>[...] Via Ajaxian. [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Klaus Hartl</title>
		<link>http://ajaxian.com/archives/no-more-ie6-background-flicker/comment-page-1#comment-106775</link>
		<dc:creator>Klaus Hartl</dc:creator>
		<pubDate>Wed, 27 Sep 2006 06:58:11 +0000</pubDate>
		<guid isPermaLink="false">http://ajaxian.com/archives/no-more-ie6-background-flicker#comment-106775</guid>
		<description>All that sniffing... why not simply use conditional compilation:

&lt;code&gt;
/*@cc_on
document.execCommand(â€BackgroundImageCacheâ€, false ,true);
@*/
&lt;/code&gt;

That is by far the safest way to do it.</description>
		<content:encoded><![CDATA[<p>All that sniffing&#8230; why not simply use conditional compilation:</p>
<p><code><br />
/*@cc_on<br />
document.execCommand(â€BackgroundImageCacheâ€, false ,true);<br />
@*/<br />
</code></p>
<p>That is by far the safest way to do it.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Hedger Wang</title>
		<link>http://ajaxian.com/archives/no-more-ie6-background-flicker/comment-page-1#comment-106464</link>
		<dc:creator>Hedger Wang</dc:creator>
		<pubDate>Tue, 26 Sep 2006 21:15:02 +0000</pubDate>
		<guid isPermaLink="false">http://ajaxian.com/archives/no-more-ie6-background-flicker#comment-106464</guid>
		<description>For Javascript fix, we can simply add this :

//Fix for IE6-
if(document.uniqueID &amp;&amp; !window.XMLHttpRequest ){
document.execCommand(&quot;BackgroundImageCache&quot;,false,true)
}</description>
		<content:encoded><![CDATA[<p>For Javascript fix, we can simply add this :</p>
<p>//Fix for IE6-<br />
if(document.uniqueID &amp;&amp; !window.XMLHttpRequest ){<br />
document.execCommand(&#8220;BackgroundImageCache&#8221;,false,true)<br />
}</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Patrick Corcoran</title>
		<link>http://ajaxian.com/archives/no-more-ie6-background-flicker/comment-page-1#comment-106424</link>
		<dc:creator>Patrick Corcoran</dc:creator>
		<pubDate>Tue, 26 Sep 2006 20:56:59 +0000</pubDate>
		<guid isPermaLink="false">http://ajaxian.com/archives/no-more-ie6-background-flicker#comment-106424</guid>
		<description>You absolutely do not want to do this with an expression.  

It&#039;s a cute way to write it, sure.  But keep in mind that expressions are evaluated over and over again, many times per second, ad infinitum.  This is the equivalent of a infinite setTimeout loop with an interval of 100ms.  Not exactly what you&#039;re aiming for...

Just use JavaScript.

if (dojo.render.html.ie60) { ... }
// ...or whatever library you prefer</description>
		<content:encoded><![CDATA[<p>You absolutely do not want to do this with an expression.  </p>
<p>It&#8217;s a cute way to write it, sure.  But keep in mind that expressions are evaluated over and over again, many times per second, ad infinitum.  This is the equivalent of a infinite setTimeout loop with an interval of 100ms.  Not exactly what you&#8217;re aiming for&#8230;</p>
<p>Just use JavaScript.</p>
<p>if (dojo.render.html.ie60) { &#8230; }<br />
// &#8230;or whatever library you prefer</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Kevin Davison</title>
		<link>http://ajaxian.com/archives/no-more-ie6-background-flicker/comment-page-1#comment-106358</link>
		<dc:creator>Kevin Davison</dc:creator>
		<pubDate>Tue, 26 Sep 2006 20:33:34 +0000</pubDate>
		<guid isPermaLink="false">http://ajaxian.com/archives/no-more-ie6-background-flicker#comment-106358</guid>
		<description>This is great, for SP1 users but I wish it worked with the &quot;:hover&quot; pseudo-class for background changes.</description>
		<content:encoded><![CDATA[<p>This is great, for SP1 users but I wish it worked with the &#8220;:hover&#8221; pseudo-class for background changes.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Dee Zsombor</title>
		<link>http://ajaxian.com/archives/no-more-ie6-background-flicker/comment-page-1#comment-106253</link>
		<dc:creator>Dee Zsombor</dc:creator>
		<pubDate>Tue, 26 Sep 2006 17:11:58 +0000</pubDate>
		<guid isPermaLink="false">http://ajaxian.com/archives/no-more-ie6-background-flicker#comment-106253</guid>
		<description>An old alternative would be a simple webserver configuration,  to send out caching instructions for static assets like images and javascript files. Beside solving the flicker issue, this would also improve performance from page to page basis. See more at http://deezsombor.blogspot.com/2006/05/flickering-css-background-images-ie6.html</description>
		<content:encoded><![CDATA[<p>An old alternative would be a simple webserver configuration,  to send out caching instructions for static assets like images and javascript files. Beside solving the flicker issue, this would also improve performance from page to page basis. See more at <a href="http://deezsombor.blogspot.com/2006/05/flickering-css-background-images-ie6.html" rel="nofollow">http://deezsombor.blogspot.com/2006/05/flickering-css-background-images-ie6.html</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Andy Kant</title>
		<link>http://ajaxian.com/archives/no-more-ie6-background-flicker/comment-page-1#comment-106252</link>
		<dc:creator>Andy Kant</dc:creator>
		<pubDate>Tue, 26 Sep 2006 16:55:29 +0000</pubDate>
		<guid isPermaLink="false">http://ajaxian.com/archives/no-more-ie6-background-flicker#comment-106252</guid>
		<description>I prefer the .htaccess/modexpires server-side method. That method doesn&#039;t require any code on the client.</description>
		<content:encoded><![CDATA[<p>I prefer the .htaccess/modexpires server-side method. That method doesn&#8217;t require any code on the client.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Sam Foster</title>
		<link>http://ajaxian.com/archives/no-more-ie6-background-flicker/comment-page-1#comment-106242</link>
		<dc:creator>Sam Foster</dc:creator>
		<pubDate>Tue, 26 Sep 2006 16:43:51 +0000</pubDate>
		<guid isPermaLink="false">http://ajaxian.com/archives/no-more-ie6-background-flicker#comment-106242</guid>
		<description>I&#039;d agree that an expression is probably not the best way to deliver this. Probably a script block inside conditional comments. But what I&#039;d really need to know is does this fix have any side-effects?

Reading the &lt;a href=&quot;http://support.microsoft.com/default.aspx?scid=kb%3Ben-us%3B823727&quot; rel=&quot;nofollow&quot;&gt;MSDN  support article&lt;/a&gt; that is apparently the only(??) reference for this command identifier, it seems to be new functionality added post SP1 to address a specific bug. Does that mean its safe to apply elsewhere? everywhere? Presumably there&#039;s a reason IE6 doesnt do this by default...</description>
		<content:encoded><![CDATA[<p>I&#8217;d agree that an expression is probably not the best way to deliver this. Probably a script block inside conditional comments. But what I&#8217;d really need to know is does this fix have any side-effects?</p>
<p>Reading the <a href="http://support.microsoft.com/default.aspx?scid=kb%3Ben-us%3B823727" rel="nofollow">MSDN  support article</a> that is apparently the only(??) reference for this command identifier, it seems to be new functionality added post SP1 to address a specific bug. Does that mean its safe to apply elsewhere? everywhere? Presumably there&#8217;s a reason IE6 doesnt do this by default&#8230;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ben Galbraith</title>
		<link>http://ajaxian.com/archives/no-more-ie6-background-flicker/comment-page-1#comment-106237</link>
		<dc:creator>Ben Galbraith</dc:creator>
		<pubDate>Tue, 26 Sep 2006 16:27:48 +0000</pubDate>
		<guid isPermaLink="false">http://ajaxian.com/archives/no-more-ie6-background-flicker#comment-106237</guid>
		<description>Cristi: We fixed the post, thanks!</description>
		<content:encoded><![CDATA[<p>Cristi: We fixed the post, thanks!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Scott Schiller</title>
		<link>http://ajaxian.com/archives/no-more-ie6-background-flicker/comment-page-1#comment-106229</link>
		<dc:creator>Scott Schiller</dc:creator>
		<pubDate>Tue, 26 Sep 2006 16:09:26 +0000</pubDate>
		<guid isPermaLink="false">http://ajaxian.com/archives/no-more-ie6-background-flicker#comment-106229</guid>
		<description>It appears a &quot;less-than&quot; terminated my comment. Should be &quot;IE less than 7&quot;. Then I ranted about how this might fix an issue on a large project I&#039;m involved with, where we ditched using drop shadows on photo thumbnails due to an IE cache-related performance issue, which this may fix. (Shouldn&#039;t be &quot;re-requesting&quot; either, but maybe client-side caching-related - the images are already being sent with future &quot;Expires&quot; headers, so requests should not be sent - this seems like another, separate caching-related issue which this tweak fixes.)

Bottom line, it sounds like a potentially great fix! Kudos to Dan Popa, &quot;Mr. Pixel.&quot;</description>
		<content:encoded><![CDATA[<p>It appears a &#8220;less-than&#8221; terminated my comment. Should be &#8220;IE less than 7&#8243;. Then I ranted about how this might fix an issue on a large project I&#8217;m involved with, where we ditched using drop shadows on photo thumbnails due to an IE cache-related performance issue, which this may fix. (Shouldn&#8217;t be &#8220;re-requesting&#8221; either, but maybe client-side caching-related &#8211; the images are already being sent with future &#8220;Expires&#8221; headers, so requests should not be sent &#8211; this seems like another, separate caching-related issue which this tweak fixes.)</p>
<p>Bottom line, it sounds like a potentially great fix! Kudos to Dan Popa, &#8220;Mr. Pixel.&#8221;</p>
]]></content:encoded>
	</item>
</channel>
</rss>

