<?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>No Mod Required &#187; ie7</title>
	<atom:link href="http://www.drunkenfist.com/304/category/web/ie7/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.drunkenfist.com/304</link>
	<description>Rob Larsen writes on entertainment, sports and culture.</description>
	<lastBuildDate>Wed, 08 Feb 2012 02:28:22 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=</generator>
		<item>
		<title>Why Won&#039;t IE6 Die? AKA My View of Current Browser Usage</title>
		<link>http://www.drunkenfist.com/304/2008/06/26/why-wont-ie6-die-aka-my-view-of-current-browser-usage/</link>
		<comments>http://www.drunkenfist.com/304/2008/06/26/why-wont-ie6-die-aka-my-view-of-current-browser-usage/#comments</comments>
		<pubDate>Thu, 26 Jun 2008 20:12:34 +0000</pubDate>
		<dc:creator>rob</dc:creator>
				<category><![CDATA[browsers]]></category>
		<category><![CDATA[firefox]]></category>
		<category><![CDATA[ie7]]></category>
		<category><![CDATA[web]]></category>

		<guid isPermaLink="false">http://www.drunkenfist.com/304/?p=4638</guid>
		<description><![CDATA[The following table outlines current browser usage across several sites for which I have analytics access. This represents the trailing 30 days, ending yesterday, 2008-06-25. While not a full cross section of the Internet there's a reasonable spread between the sites in terms of age and technology experience, so this sample should be reasonably interesting [...]]]></description>
			<content:encoded><![CDATA[<p>The following table outlines current browser usage across several sites for which I have analytics access. This represents the trailing 30 days, ending yesterday, 2008-06-25. While not a full cross section of the Internet there's a reasonable spread between the sites in terms of age and technology experience, so this sample should be reasonably interesting to those of you who care about such things. It's interesting enough for me to post about <img src='http://www.drunkenfist.com/304/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<table style="width::450px" cellpadding="4" border=1" >
<tr>
<th>&nbsp;</th>
<th>IE 6</th>
<th>IE 7</th>
<th>Firefox (all ) </th>
<th>Safari (all ) </th>
<th>Other</th>
<th>Total Visitors</th>
</tr>
<tr>
<th>Totals</th>
<td>15133</td>
<td>24739</td>
<td>20165</td>
<td>3102</td>
<td>2649</td>
<td>65788</td>
</tr>
<tr>
<th>Percentages</th>
<td>23%</td>
<td>38%</td>
<td>31%</td>
<td>5%</td>
<td>4%</td>
<td></td>
</tr>
</table>
<p>As you can see, while it's now third, Internet Explorer 6 is still hanging on with unfortunate tenacity. Which means we still have great pain to deal with when trying to develop cross-browser web sites in this rich, interactive era.</p>
<p>I also means there's demand for people like me who know how to handle the beast, so I guess I should look to that as a silver lining&#8230;</p>
<p>Still, die IE6 die.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.drunkenfist.com/304/2008/06/26/why-wont-ie6-die-aka-my-view-of-current-browser-usage/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Rejoice. &quot;click to activate and use this control&quot; is Now Dead.</title>
		<link>http://www.drunkenfist.com/304/2008/04/08/rejoice-click-to-activate-and-use-this-control-is-now-dead/</link>
		<comments>http://www.drunkenfist.com/304/2008/04/08/rejoice-click-to-activate-and-use-this-control-is-now-dead/#comments</comments>
		<pubDate>Tue, 08 Apr 2008 19:08:49 +0000</pubDate>
		<dc:creator>rob</dc:creator>
				<category><![CDATA[browsers]]></category>
		<category><![CDATA[ie7]]></category>
		<category><![CDATA[web]]></category>

		<guid isPermaLink="false">http://www.drunkenfist.com/304/?p=4485</guid>
		<description><![CDATA[So sayeth the IEblog: IEBlog : IE Automatic Component Activation Now Available The IE Automatic Component Activation (IE ACA) update is now available as part of the April 2008 Internet Explorer Cumulative Update. The "click to activate" behavior, formerly required for ActiveX controls embedded in some webpages, is now permanently removed from Internet Explorer. For [...]]]></description>
			<content:encoded><![CDATA[<p>So sayeth the IEblog:</p>
<p><a href="http://blogs.msdn.com/ie/archive/2008/04/08/ie-automatic-component-activation-now-available.aspx">IEBlog : IE Automatic Component Activation Now Available</a></p>
<blockquote><p>The IE Automatic Component Activation (IE ACA) update is now available as part of the April 2008 Internet Explorer Cumulative Update. The "click to activate" behavior, formerly required for ActiveX controls embedded in some webpages, is now permanently removed from Internet Explorer.  For detailed information on IE ACA, see our blog post from last November announcing this update.</p>
<p>This update replaces the IE ACA previews released in December 2007 and February 2008.</p></blockquote>
<p>Which means I can stop using SWFObject and just dump Flash into the page like I used to way back when. SWFObject is really a nice piece of code, but I'm a lot happier when I'm not relying on JavaScript for something as basic as getting Flash embedded into a page. It's just an added layer of complexity and an extra download* that I don't need in my life and I'm damn glad to be rid of it.</p>
<p>Want an example of the complexity I'm talking about? check out this post I wrote a few months ago:</p>
<p><a href="http://www.drunkenfist.com/304/2007/11/29/belt-and-suspenders-flash-embed-with-swfobject-and-conditional-comments/">Belt and Suspenders- Flash Embed With SWFObject and Conditional Comments</a></p>
<p>While it works, it's WAY too complicated for anyone's good.</p>
<p>*although I do wrap all JS into a single file now, just appending SWFObject to the bottom of the file. Even doing that it adds a few KB to the download, so even in a single file situation it's overhead I'd rather be rid of&#8230;</p>
]]></content:encoded>
			<wfw:commentRss>http://www.drunkenfist.com/304/2008/04/08/rejoice-click-to-activate-and-use-this-control-is-now-dead/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>SaveTheDevelopers.org AKA Save Me From the Pain of IE6</title>
		<link>http://www.drunkenfist.com/304/2008/03/25/savethedevelopersorg-aka-save-me-from-the-pain-of-ie6/</link>
		<comments>http://www.drunkenfist.com/304/2008/03/25/savethedevelopersorg-aka-save-me-from-the-pain-of-ie6/#comments</comments>
		<pubDate>Tue, 25 Mar 2008 17:50:50 +0000</pubDate>
		<dc:creator>rob</dc:creator>
				<category><![CDATA[browsers]]></category>
		<category><![CDATA[firefox]]></category>
		<category><![CDATA[ie7]]></category>
		<category><![CDATA[web]]></category>

		<guid isPermaLink="false">http://www.drunkenfist.com/304/2008/03/25/savethedevelopersorg-aka-save-me-from-the-pain-of-ie6/</guid>
		<description><![CDATA[SaveTheDevelopers.org :: Making The Web A Better Place Say no to IE 6! Our current campaign focuses on assisting users in upgrading their Internet Explorer 6 web browser. This campaign will result in former IE 6 users having a more enjoyable experience on the web while (hopefully) creating a less stressful and complicated environment for [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.savethedevelopers.org/index.php">SaveTheDevelopers.org :: Making The Web A Better Place</a></p>
<blockquote><p>Say no to IE 6! Our current campaign focuses on assisting users in upgrading their Internet Explorer 6 web browser. This campaign will result in former IE 6 users having a more enjoyable experience on the web while (hopefully) creating a less stressful and complicated environment for web developers by hastening the retirement of an outdated browser.</p></blockquote>
<p><span id="more-4443"></span><br />
<em>Say it loud!</em></p>
<p>I've been writing <a href="http://www.drunkenfist.com/304/category/web/ie7/">about the slow adoption rate for a while now</a> and it's still a source of frustration. Over the past month this site has seen 9,078 visitors using IE6.* Which is precisely 9,078 too many. </p>
<p>Honestly? In some sense it's a positive number, as the overall percentage of users on IE6 is shrinking. It's still not shrinking fast enough, however, so sentiments like the above speak to me like a call from up on high.</p>
<p>Sure, my site (and really all of my sites) looks fine in IE6, but it's still a pain to have to support it, even if it's just the extra bytes I have to serve other browsers (in the form of conditional comments.) And really, being the stickler for good experiences that I am, I still have to test and bug-fix for IE6 whenever I add new features or styles. Supporting two version of IE is awful, especially when one is so much better than the other.</p>
<p>I won't even get started on the issues at work. </p>
<p><em>Okay, maybe a little</em>. </p>
<p>While I've got a hip, upgrading crowd that visits this site, the people we build for at work are generally running old, locked down machines running whatever browser their IT department wants to support. Care to guess what browser that might be? </p>
<p>Yeah. </p>
<p>IE6. </p>
<p><strong>*sob* </strong></p>
<p>*compared to 32,372 using Firefox and 15,385 using Internet Explorer 7.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.drunkenfist.com/304/2008/03/25/savethedevelopersorg-aka-save-me-from-the-pain-of-ie6/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>Belt and Suspenders- Flash Embed With SWFObject and Conditional Comments</title>
		<link>http://www.drunkenfist.com/304/2007/11/29/belt-and-suspenders-flash-embed-with-swfobject-and-conditional-comments/</link>
		<comments>http://www.drunkenfist.com/304/2007/11/29/belt-and-suspenders-flash-embed-with-swfobject-and-conditional-comments/#comments</comments>
		<pubDate>Thu, 29 Nov 2007 21:21:46 +0000</pubDate>
		<dc:creator>rob</dc:creator>
				<category><![CDATA[browsers]]></category>
		<category><![CDATA[html]]></category>
		<category><![CDATA[ie7]]></category>
		<category><![CDATA[javascript]]></category>
		<category><![CDATA[microsoft]]></category>
		<category><![CDATA[tips-and-tricks]]></category>
		<category><![CDATA[web]]></category>
		<category><![CDATA[flash]]></category>
		<category><![CDATA[tools]]></category>

		<guid isPermaLink="false">http://www.drunkenfist.com/304/2007/11/29/belt-and-suspenders-flash-embed-with-swfobject-and-conditional-comments/</guid>
		<description><![CDATA[If you're using Flash and you want the best possible coverage (meaning it works with users who don't have JS turned on) while still using something like SWFObject where possible to get around the "click here to activate and use this control" ActiveX message in Internet Explorer, then take a look at the ridiculous pattern [...]]]></description>
			<content:encoded><![CDATA[<p>If you're using Flash and you want the best possible coverage (meaning it works with users who don't have JS turned on) while still using something like SWFObject where possible to get around the "click here to activate and use this control" ActiveX message in Internet Explorer, then take a look at the ridiculous pattern below.</p>
<p><em>Warning- not for the squeamish&#8230;</em><br />
<span id="more-4169"></span><br />
Here's the HTML:</p>
<div class="code_sample">
<code></p>
<pre>
&lt;!--[if IE]&gt;
   &lt;noscript&gt; 
   &lt;object classid=&quot;clsid:D27CDB6E-AE6D-11cf-96B8-444553540000&quot; codebase=&quot;http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,19,0&quot; width=&quot;1004&quot; height=&quot;281&quot;&gt;
      &lt;param name=&quot;movie&quot; value=&quot;_assets/flash/homepage.swf&quot; /&gt;
      &lt;param name=&quot;quality&quot; value=&quot;high&quot; /&gt;
      &lt;embed src=&quot;_assets/flash/homepage.swf&quot; quality=&quot;high&quot; pluginspage=&quot;http://www.macromedia.com/go/getflashplayer&quot; type=&quot;application/x-shockwave-flash&quot; width=&quot;1004&quot; height=&quot;281&quot;&gt;&lt;/embed&gt;
&lt;/object&gt;
&lt;/noscript&gt;

&lt;![endif]--&gt;
&lt;!--[if !IE]&gt; &lt;--&gt;
   &lt;object classid=&quot;clsid:D27CDB6E-AE6D-11cf-96B8-444553540000&quot; codebase=&quot;http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,19,0&quot; width=&quot;1004&quot; height=&quot;281&quot;&gt;
      &lt;param name=&quot;movie&quot; value=&quot;_assets/flash/homepage.swf&quot; /&gt;
      &lt;param name=&quot;quality&quot; value=&quot;high&quot; /&gt;
      &lt;embed src=&quot;_assets/flash/homepage.swf&quot; quality=&quot;high&quot; pluginspage=&quot;http://www.macromedia.com/go/getflashplayer&quot; type=&quot;application/x-shockwave-flash&quot; width=&quot;1004&quot; height=&quot;281&quot;&gt;&lt;/embed&gt;
   &lt;/object&gt;
&lt;!--&gt; &lt;![endif]--&gt;
</pre>
<p></code>
</div>
<p>Here's the SWFObject script served to Internet Explorer and ONLY Internet Explorer </p>
<div class="code_sample">
<code></p>
<pre>
&lt;!--[if IE]&gt;
&lt;script src=&quot;_assets/js/swfobject.js&quot; type=&quot;text/javascript&quot;&gt;&lt;/script&gt;
&lt;![endif]--&gt;
</pre>
<p></code>
</div>
<p>And here's the SWFObject call:</p>
<div class="code_sample">
<code></p>
<pre>
        //use <a href="http://msdn.microsoft.com/library/default.asp?url=/library/en-us/jscript7/html/jsConditionalCompilation.asp">conditional compilation</a> to hide this call from non-IE browsers
	/*@cc_on @*/
        /*@if (@_win32)
	if ($("home")){
		var so = new SWFObject("_assets/flash/homepage.swf", "mymovie", "1004", "281", "8", "#336699");
	   	so.addParam("wmode", "transparent");
	   	so.write("messaging");
	}
	/*@end @*/
</pre>
<p></code>
</div>
<p>Before I go further, let me just say I'm counting the days until I can just dump a SWF into the page and be done with it. I hate all of these script based machinations to get a SWF out to the browser. This is code overhead that really bugs me&#8230;</p>
<p>Anyway, here's the HTML logic.</p>
<ul>
<li>We use Microsoft's conditional comments to show/hide content</li>
<li>In the "This is IE" block we use a <code>noscript</code> tag to present a traditional embed to IE users who might have JS turned off.</li>
<li>Every other IE user with JS turned on will see the SWF embedded by SWFObject so no "click to activate and use this control" will be visible to the user. Since the majority of people on the web use IE and the majority of them surf with JS turned on, most users will fall into this category.</li>
<li>Then, in the "This is not IE" block, we just embed the Flash the old school way. Since the <a href="http://www.eweek.com/article2/0,1759,1895907,00.asp">Eolas suit</a> doesn't come into play with other browsers, embedding the SWF the old way is fine (at least in terms of the "click here&#8230;" nonsense.) As an additional benefit there's no concern over whether or not the user has JavaScript turned on. JavaScript or no, the only issue is whether or not they have the plugin. Whereas with SWFObject there's a possibility (however slim) that a user could have the Flash plugin installed but be surfing with JavaScript disabled. As I mentioned, this is for the <strong>best possible</strong> coverage&#8230; Also, if they don't have the plugin they get the "download this plugin" notification. I head reports that that wasn't happening with SWFObject running* so getting that to work properly is definitely a bonus. It was actually that bug report that got me into this whole mess <img src='http://www.drunkenfist.com/304/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </li>
</ul>
<p>As for how it works technically, the following</p>
<p><code>&lt;!--[if IE]&gt;</code></p>
<p>Is read by IE as a test (<em>if the browser is Internet Explorer</em>.) Every other browser reads it as an open comment. Since it's an open comment everything up until the close comment (&lt;![endif]&#8211;&gt;) will be ignored by non-IE browsers. IE, on the other hand will go ahead and process that markup normally since it recognizes that pattern as a conditional and its test will evaluate to <code>true</code>.</p>
<p>As a note, I don't like using this stuff all over the place**, but in a situation like this conditional comments are a great option to have.</p>
<p>On the flip side All other browsers read this pattern:</p>
<p>&lt;!&#8211;[if !IE]&gt; &lt;&#8211;&gt;</p>
<p>As a completed comment, opened and closed on the same line. Therefore everything that follows is rendered <strong>normally</strong> by Firefox, safari and all the rest.  IE, on the other hand, reads it as the beginning of a  "<em>If the browser is NOT IE</em>" conditional. Since  that resolves to false, everything down to the end of the conditional endif (&lt;!&#8211;&gt; &lt;![endif]&#8211;&gt;) is ignored by Internet Explorer. That allows us to go back to the future and embed flash in the old school way for everything but IE.</p>
<p><em>Oh the pain.</em></p>
<p>Still, if you absolutely need the best possible coverage and want to use SWFObject, this is <strong>a</strong> way to go. Is it the best? Probably not, since it's horrifyingly hack-y and won't validate. But it might be useful for someone out there&#8230;</p>
<p>*and I could figure out how to make it happen&#8230;<br />
**I mostly use it to attach IE specific style sheets. For those of you keeping track, that looks like this:</p>
<div class="code_sample">
<code></p>
<pre>
&lt;!--[if gte IE 5.5]&gt;
&lt;![if lt IE 7]&gt;
&lt;link rel=&quot;STYLESHEET&quot; type=&quot;text/css&quot; href=&quot;_assets/styles/ie6.css&quot; /&gt;
&lt;![endif]&gt;
&lt;![if gte IE 7]&gt;
&lt;link rel=&quot;STYLESHEET&quot; type=&quot;text/css&quot; href=&quot;_assets/styles/ie7.css&quot; /&gt;
&lt;![endif]&gt;
&lt;![endif]--&gt;
</pre>
<p></code>
</div>
]]></content:encoded>
			<wfw:commentRss>http://www.drunkenfist.com/304/2007/11/29/belt-and-suspenders-flash-embed-with-swfobject-and-conditional-comments/feed/</wfw:commentRss>
		<slash:comments>7</slash:comments>
		</item>
		<item>
		<title>How Did I Miss This? IE Automatic Component Activation Will Revert to Old Behavior</title>
		<link>http://www.drunkenfist.com/304/2007/11/28/how-did-i-miss-this-ie-automatic-component-activation-will-revert-to-old-behavior/</link>
		<comments>http://www.drunkenfist.com/304/2007/11/28/how-did-i-miss-this-ie-automatic-component-activation-will-revert-to-old-behavior/#comments</comments>
		<pubDate>Thu, 29 Nov 2007 04:44:08 +0000</pubDate>
		<dc:creator>rob</dc:creator>
				<category><![CDATA[ie7]]></category>
		<category><![CDATA[microsoft]]></category>
		<category><![CDATA[web]]></category>
		<category><![CDATA[flash]]></category>

		<guid isPermaLink="false">http://www.drunkenfist.com/304/2007/11/28/how-did-i-miss-this-ie-automatic-component-activation-will-revert-to-old-behavior/</guid>
		<description><![CDATA[Hallelujah. Bravo Microsoft! I really don't like using JS to embed Flash into a page, so this is good news for me. No more SWFObject for me Don't get me wrong, SWFObject is a great piece of code. I just hate having to think about Flash at all. Unless there's actual communication between the SWF [...]]]></description>
			<content:encoded><![CDATA[<p>Hallelujah. Bravo Microsoft! I really don't like using JS to embed Flash into a page, so this is good news for me. No more SWFObject for me <img src='http://www.drunkenfist.com/304/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />  </p>
<p>Don't get me wrong, SWFObject is a great piece of code. I just hate having to think about Flash at all. Unless there's actual communication between the SWF and the page, I just want to dump it into the doc like any other element and be done with it. I can't tell you how many problems I've had over the past year with Flash and JS embed techniques and bizarre bugs&#8230; Pain. Great pain.</p>
<blockquote><p>IE Automatic Component Activation (Changes to IE ActiveX Update)</p>
<p>Back in April 2006, we made a change to how Internet Explorer handled embedded controls used on some webpages. Some sites required users to “click to activate” before they could interact with the control. Microsoft has now licensed the technologies from Eolas, removing  the “click to activate” requirement in Internet Explorer. Because of this, we're removing the “click to activate” behavior from Internet Explorer!</p>
<p>It’s important (and cool) to note that this change will require no modifications to existing webpages, and no new actions for developers creating new pages. We are simply reverting to the old behavior. Once Internet Explorer is updated, all pages that currently require “click to activate” will no longer require the control to be activated. They’ll just work.
</p></blockquote>
<p><a href="http://blogs.msdn.com/ie/archive/2007/11/08/ie-automatic-component-activation-changes-to-ie-activex-update.aspx">IEBlog : IE Automatic Component Activation (Changes to IE ActiveX Update)</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.drunkenfist.com/304/2007/11/28/how-did-i-miss-this-ie-automatic-component-activation-will-revert-to-old-behavior/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

