<?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: Detect Internet Explorer 6 (IE6) and other popular browsers with Mootools</title>
	<atom:link href="http://www.graphic-euphoria.co.uk/detect-internet-explorer-6-ie6-and-other-popular-browsers-with-mootools/feed" rel="self" type="application/rss+xml" />
	<link>http://www.graphic-euphoria.co.uk/detect-internet-explorer-6-ie6-and-other-popular-browsers-with-mootools</link>
	<description>Just another WordPress weblog</description>
	<lastBuildDate>Sun, 25 Dec 2011 01:12:21 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
	<item>
		<title>By: Jamland</title>
		<link>http://www.graphic-euphoria.co.uk/detect-internet-explorer-6-ie6-and-other-popular-browsers-with-mootools/comment-page-1#comment-2858</link>
		<dc:creator>Jamland</dc:creator>
		<pubDate>Fri, 28 Aug 2009 07:40:31 +0000</pubDate>
		<guid isPermaLink="false">http://www.graphic-euphoria.co.uk/?p=280#comment-2858</guid>
		<description>Thanx!</description>
		<content:encoded><![CDATA[<p>Thanx!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Si</title>
		<link>http://www.graphic-euphoria.co.uk/detect-internet-explorer-6-ie6-and-other-popular-browsers-with-mootools/comment-page-1#comment-2537</link>
		<dc:creator>Si</dc:creator>
		<pubDate>Fri, 10 Jul 2009 14:43:42 +0000</pubDate>
		<guid isPermaLink="false">http://www.graphic-euphoria.co.uk/?p=280#comment-2537</guid>
		<description>Good tip, it doesn&#039;t mention that in the docs.

You could also use:

if (Browser.Engine.name==&#039;trident&#039; &amp;&amp; Browser.Engine.version==4) {
     alert(’This is IE6′)
 }

but essentially &#039;Browser.Engine.trident4&#039; does that same thing. Seems strange to me that it&#039;s not in the docs!

As far as i know, the feature detection it sniffs out is the window.XMLHttpRequest. Only available in IE7 and above. So to target IE6 specifically i would still use the useragent string method. 

also the overkill of globals is just to show how you could create one per browser. In reality you would probably only ever need one... IE6. You gotta love it!</description>
		<content:encoded><![CDATA[<p>Good tip, it doesn&#8217;t mention that in the docs.</p>
<p>You could also use:</p>
<p>if (Browser.Engine.name==&#8217;trident&#8217; &#038;&#038; Browser.Engine.version==4) {<br />
     alert(’This is IE6′)<br />
 }</p>
<p>but essentially &#8216;Browser.Engine.trident4&#8242; does that same thing. Seems strange to me that it&#8217;s not in the docs!</p>
<p>As far as i know, the feature detection it sniffs out is the window.XMLHttpRequest. Only available in IE7 and above. So to target IE6 specifically i would still use the useragent string method. </p>
<p>also the overkill of globals is just to show how you could create one per browser. In reality you would probably only ever need one&#8230; IE6. You gotta love it!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: David McGeorge</title>
		<link>http://www.graphic-euphoria.co.uk/detect-internet-explorer-6-ie6-and-other-popular-browsers-with-mootools/comment-page-1#comment-2533</link>
		<dc:creator>David McGeorge</dc:creator>
		<pubDate>Fri, 10 Jul 2009 11:17:58 +0000</pubDate>
		<guid isPermaLink="false">http://www.graphic-euphoria.co.uk/?p=280#comment-2533</guid>
		<description>Good post.  I used to like how it was done in mootools 1.1

if(window.ie6) { alert(&#039;this is IE6&#039;); }

It was clean and simple.  In mootools 2 you can shorten the ie6 code above that little bit more by doing:

if(Browser.Engine.trident4){ alert(&#039;This is IE6&#039;); }

I don&#039;t like to make too many global variables and the Browser object does a good job at keeping code clean. A little anal retentive maybe?</description>
		<content:encoded><![CDATA[<p>Good post.  I used to like how it was done in mootools 1.1</p>
<p>if(window.ie6) { alert(&#8216;this is IE6&#8242;); }</p>
<p>It was clean and simple.  In mootools 2 you can shorten the ie6 code above that little bit more by doing:</p>
<p>if(Browser.Engine.trident4){ alert(&#8216;This is IE6&#8242;); }</p>
<p>I don&#8217;t like to make too many global variables and the Browser object does a good job at keeping code clean. A little anal retentive maybe?</p>
]]></content:encoded>
	</item>
</channel>
</rss>

