<?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>Digital Marketing Blog by Soak Digital &#187; ie6</title>
	<atom:link href="http://www.soak.co.uk/blog/tag/ie6/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.soak.co.uk/blog</link>
	<description>a digital marketing agency</description>
	<lastBuildDate>Wed, 23 Nov 2011 15:51:56 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.1.1</generator>
		<item>
		<title>Detecting IE6 without jQuery.browser</title>
		<link>http://www.soak.co.uk/blog/detecting-ie6-without-jquery-browser/</link>
		<comments>http://www.soak.co.uk/blog/detecting-ie6-without-jquery-browser/#comments</comments>
		<pubDate>Mon, 21 Dec 2009 14:41:07 +0000</pubDate>
		<dc:creator>ronan.sprake</dc:creator>
				<category><![CDATA[Technical]]></category>
		<category><![CDATA[ie6]]></category>
		<category><![CDATA[javascript]]></category>
		<category><![CDATA[jquery]]></category>

		<guid isPermaLink="false">http://blog.soak.co.uk/?p=413</guid>
		<description><![CDATA[I would never normally recommend browser sniffing, but as long as the spectre of IE6 still haunts us, we need a way to patch the many holes of this spectacularly bad browser. jQuery.browser has been superseded by jQuery.support, allowing detection for feature support rather than user agent (which is a very blunt tool). The jQuery [...]]]></description>
			<content:encoded><![CDATA[<p>I would never normally recommend browser sniffing, but as long as the spectre of IE6 still haunts us, we need a way to patch the many holes of this spectacularly bad browser.<span id="more-413"></span></p>
<p>jQuery.browser has been superseded by jQuery.support, allowing detection for feature support rather than user agent (which is a very blunt tool). The jQuery team has made it a main objective to remain backwards-compatible, but I always prefer to phase out deprecated methods sooner rather than later.</p>
<h2>What&#8217;s the answer?</h2>
<p>Instead of this:</p>
<p><code>if (parseInt(jQuery.browser.version) == 6) { ... }</code></p>
<p>Try this:</p>
<p><code>if (typeof document.body.style.maxHeight == "undefined"){ ... }</code></p>
<p>Any script inside the second statement will execute only in browsers that don&#8217;t support the maximum-height property, which includes all versions of Internet Explorer up to version 6.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.soak.co.uk/blog/detecting-ie6-without-jquery-browser/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

