<?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: Javascript: Isolating browser specific code</title>
	<atom:link href="http://www.markhneedham.com/blog/2010/02/28/javascript-isolating-browser-specific-code/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.markhneedham.com/blog/2010/02/28/javascript-isolating-browser-specific-code/</link>
	<description>Thoughts on Software Development</description>
	<lastBuildDate>Sat, 11 Feb 2012 23:17:00 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
	<item>
		<title>By: Sudhindra Rao</title>
		<link>http://www.markhneedham.com/blog/2010/02/28/javascript-isolating-browser-specific-code/comment-page-1/#comment-32846</link>
		<dc:creator>Sudhindra Rao</dc:creator>
		<pubDate>Wed, 03 Mar 2010 23:33:34 +0000</pubDate>
		<guid isPermaLink="false">http://www.markhneedham.com/blog/?p=2206#comment-32846</guid>
		<description>Hi Mark, 
Look at this 
http://www.prototypejs.org/api/class/addMethods

Look at the inheritance of snake that makes a supercall.

Jquery does allow class/object creation now(very much like prototype). This should work there too.

-Sudhindra</description>
		<content:encoded><![CDATA[<p>Hi Mark,<br />
Look at this<br />
<a href="http://www.prototypejs.org/api/class/addMethods" rel="nofollow">http://www.prototypejs.org/api/class/addMethods</a></p>
<p>Look at the inheritance of snake that makes a supercall.</p>
<p>Jquery does allow class/object creation now(very much like prototype). This should work there too.</p>
<p>-Sudhindra</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Patrick</title>
		<link>http://www.markhneedham.com/blog/2010/02/28/javascript-isolating-browser-specific-code/comment-page-1/#comment-32786</link>
		<dc:creator>Patrick</dc:creator>
		<pubDate>Tue, 02 Mar 2010 11:32:17 +0000</pubDate>
		<guid isPermaLink="false">http://www.markhneedham.com/blog/?p=2206#comment-32786</guid>
		<description>Mark... targeting IE specifically is exactly how I&#039;ve worked around that one in the past.</description>
		<content:encoded><![CDATA[<p>Mark&#8230; targeting IE specifically is exactly how I&#8217;ve worked around that one in the past.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Chris Airey</title>
		<link>http://www.markhneedham.com/blog/2010/02/28/javascript-isolating-browser-specific-code/comment-page-1/#comment-32717</link>
		<dc:creator>Chris Airey</dc:creator>
		<pubDate>Sun, 28 Feb 2010 22:11:02 +0000</pubDate>
		<guid isPermaLink="false">http://www.markhneedham.com/blog/?p=2206#comment-32717</guid>
		<description>IE6 is a pain in the ass. Although you can loads scripts using JQuery&#039;s getScript(). I.e $.getScript(&quot;test.js&quot;);</description>
		<content:encoded><![CDATA[<p>IE6 is a pain in the ass. Although you can loads scripts using JQuery&#8217;s getScript(). I.e $.getScript(&#8220;test.js&#8221;);</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mark Needham</title>
		<link>http://www.markhneedham.com/blog/2010/02/28/javascript-isolating-browser-specific-code/comment-page-1/#comment-32671</link>
		<dc:creator>Mark Needham</dc:creator>
		<pubDate>Sun, 28 Feb 2010 01:45:04 +0000</pubDate>
		<guid isPermaLink="false">http://www.markhneedham.com/blog/?p=2206#comment-32671</guid>
		<description>In this case we were writing some code to get around the IE6 bug with placing a div over a select box as described here - http://weblogs.asp.net/bleroy/archive/2005/08/09/how-to-put-a-div-over-a-select-in-ie.aspx - so we needed to insert an empty iframe in front of the div in order for the div to be displayed above the select box for IE6.

Would that be an example of something that is IE specific or is there a way to detect that otherwise?</description>
		<content:encoded><![CDATA[<p>In this case we were writing some code to get around the IE6 bug with placing a div over a select box as described here &#8211; <a href="http://weblogs.asp.net/bleroy/archive/2005/08/09/how-to-put-a-div-over-a-select-in-ie.aspx" rel="nofollow">http://weblogs.asp.net/bleroy/archive/2005/08/09/how-to-put-a-div-over-a-select-in-ie.aspx</a> &#8211; so we needed to insert an empty iframe in front of the div in order for the div to be displayed above the select box for IE6.</p>
<p>Would that be an example of something that is IE specific or is there a way to detect that otherwise?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Patrick</title>
		<link>http://www.markhneedham.com/blog/2010/02/28/javascript-isolating-browser-specific-code/comment-page-1/#comment-32669</link>
		<dc:creator>Patrick</dc:creator>
		<pubDate>Sun, 28 Feb 2010 01:39:20 +0000</pubDate>
		<guid isPermaLink="false">http://www.markhneedham.com/blog/?p=2206#comment-32669</guid>
		<description>Usual approach is to prefer object detection over version detection. What people traditionally called object detection in JavaScript is more-or-less done using duck typing.

If you really do need to target IE specifically, you might find that having detection in your HTML for things in your JavaScript is a bit unwieldly so it&#039;s worth noting that IE also supports conditional compilation inside JavaScript.</description>
		<content:encoded><![CDATA[<p>Usual approach is to prefer object detection over version detection. What people traditionally called object detection in JavaScript is more-or-less done using duck typing.</p>
<p>If you really do need to target IE specifically, you might find that having detection in your HTML for things in your JavaScript is a bit unwieldly so it&#8217;s worth noting that IE also supports conditional compilation inside JavaScript.</p>
]]></content:encoded>
	</item>
</channel>
</rss>

