<?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: Using Conditional Comments to Catch IE</title>
	<atom:link href="http://www.daobydesign.com/blog/2008/05/using-conditional-comments-to-catch-ie/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.daobydesign.com/blog/2008/05/using-conditional-comments-to-catch-ie/</link>
	<description>Tips on blogging, design and the IT industry.</description>
	<pubDate>Wed, 07 Jan 2009 02:29:53 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.7</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Ryan</title>
		<link>http://www.daobydesign.com/blog/2008/05/using-conditional-comments-to-catch-ie/comment-page-1/#comment-4471</link>
		<dc:creator>Ryan</dc:creator>
		<pubDate>Sun, 05 Oct 2008 01:11:20 +0000</pubDate>
		<guid isPermaLink="false">http://www.daobydesign.com/blog/?p=69#comment-4471</guid>
		<description>@Hilts50: Sure, just use something like this:

&#60;!--[if lte IE 6]&#62;
&#60;META 
http-equiv="refresh" 
content="0;URL=http://www.yourdomain.com/iepage.html"&#62;
&#60;![endif]--&#62;

This will automatically redirect anyone using IE6 or less to a page called "iepage.html" on yourdomain.com, but will be ignored by all other browsers.</description>
		<content:encoded><![CDATA[<p>@Hilts50: Sure, just use something like this:</p>
<p>&lt;!&#8211;[if lte IE 6]&gt;<br />
&lt;META<br />
http-equiv=&#8221;refresh&#8221;<br />
content=&#8221;0;URL=http://www.yourdomain.com/iepage.html&#8221;&gt;<br />
&lt;![endif]&#8211;&gt;</p>
<p>This will automatically redirect anyone using IE6 or less to a page called &#8220;iepage.html&#8221; on yourdomain.com, but will be ignored by all other browsers.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: hilts50</title>
		<link>http://www.daobydesign.com/blog/2008/05/using-conditional-comments-to-catch-ie/comment-page-1/#comment-4456</link>
		<dc:creator>hilts50</dc:creator>
		<pubDate>Sat, 04 Oct 2008 17:44:31 +0000</pubDate>
		<guid isPermaLink="false">http://www.daobydesign.com/blog/?p=69#comment-4456</guid>
		<description>Is there a way to use conditional comments to redirect to a static html page instead of a custom style sheet?  I have built a conditional style sheet for IE 7, but IE 6 is so messed up I just want to redirect to a static page with download links for every other browser, and key links that the user may be trying to access.  I am not sure how to go about doing this, or even if it is possible.  Any ideas?

Thanks</description>
		<content:encoded><![CDATA[<p>Is there a way to use conditional comments to redirect to a static html page instead of a custom style sheet?  I have built a conditional style sheet for IE 7, but IE 6 is so messed up I just want to redirect to a static page with download links for every other browser, and key links that the user may be trying to access.  I am not sure how to go about doing this, or even if it is possible.  Any ideas?</p>
<p>Thanks</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Hate Internet Explorer? Take a stand against IE6 browser &#124; Dao By Design Blog</title>
		<link>http://www.daobydesign.com/blog/2008/05/using-conditional-comments-to-catch-ie/comment-page-1/#comment-4154</link>
		<dc:creator>Hate Internet Explorer? Take a stand against IE6 browser &#124; Dao By Design Blog</dc:creator>
		<pubDate>Thu, 18 Sep 2008 08:56:34 +0000</pubDate>
		<guid isPermaLink="false">http://www.daobydesign.com/blog/?p=69#comment-4154</guid>
		<description>[...] The code makes use of conditional comments. [...]</description>
		<content:encoded><![CDATA[<p>[...] The code makes use of conditional comments. [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: dış cephe</title>
		<link>http://www.daobydesign.com/blog/2008/05/using-conditional-comments-to-catch-ie/comment-page-1/#comment-2391</link>
		<dc:creator>dış cephe</dc:creator>
		<pubDate>Mon, 14 Jul 2008 14:59:18 +0000</pubDate>
		<guid isPermaLink="false">http://www.daobydesign.com/blog/?p=69#comment-2391</guid>
		<description>thanks andrew..</description>
		<content:encoded><![CDATA[<p>thanks andrew..</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Andrew</title>
		<link>http://www.daobydesign.com/blog/2008/05/using-conditional-comments-to-catch-ie/comment-page-1/#comment-2285</link>
		<dc:creator>Andrew</dc:creator>
		<pubDate>Thu, 19 Jun 2008 07:26:55 +0000</pubDate>
		<guid isPermaLink="false">http://www.daobydesign.com/blog/?p=69#comment-2285</guid>
		<description>Hey Ryan,

Do you know of any good javascript written tree menu's that dowgrade to simple html if javascript is disabled?

I have a large site and was not wanting to change a shed load of pages everytime I added more content.. so either dynamically populated or a menu that is the same block of code on each page that I can just copy paste to all my pages.</description>
		<content:encoded><![CDATA[<p>Hey Ryan,</p>
<p>Do you know of any good javascript written tree menu&#8217;s that dowgrade to simple html if javascript is disabled?</p>
<p>I have a large site and was not wanting to change a shed load of pages everytime I added more content.. so either dynamically populated or a menu that is the same block of code on each page that I can just copy paste to all my pages.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Andrew</title>
		<link>http://www.daobydesign.com/blog/2008/05/using-conditional-comments-to-catch-ie/comment-page-1/#comment-2276</link>
		<dc:creator>Andrew</dc:creator>
		<pubDate>Tue, 17 Jun 2008 12:26:52 +0000</pubDate>
		<guid isPermaLink="false">http://www.daobydesign.com/blog/?p=69#comment-2276</guid>
		<description>Cheers Ryan,

Have managed to figure it out now..

http://www.moonoo.co.uk/new/citizen.html

This page has the script on it at the moment.. jw FLV player for every other browser bar IE7.. plus alternative quicktime if you haven't got flash installed.

Was thinking of a way to downgrade from flash to quicktime and then windows media as a last resort but wasn't sure if this was possible with conditional statements in the code.. not too hot with java so was wanting to avoid it.

Have you noticed issues with swfobject and IE7? 

It's weird how my whole beta site is working on everything bar IE7 even IE6 is working fine..

cheers for your comments and help.

Andrew</description>
		<content:encoded><![CDATA[<p>Cheers Ryan,</p>
<p>Have managed to figure it out now..</p>
<p><a href="http://www.moonoo.co.uk/new/citizen.html" rel="nofollow">http://www.moonoo.co.uk/new/citizen.html</a></p>
<p>This page has the script on it at the moment.. jw FLV player for every other browser bar IE7.. plus alternative quicktime if you haven&#8217;t got flash installed.</p>
<p>Was thinking of a way to downgrade from flash to quicktime and then windows media as a last resort but wasn&#8217;t sure if this was possible with conditional statements in the code.. not too hot with java so was wanting to avoid it.</p>
<p>Have you noticed issues with swfobject and IE7? </p>
<p>It&#8217;s weird how my whole beta site is working on everything bar IE7 even IE6 is working fine..</p>
<p>cheers for your comments and help.</p>
<p>Andrew</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ryan</title>
		<link>http://www.daobydesign.com/blog/2008/05/using-conditional-comments-to-catch-ie/comment-page-1/#comment-2275</link>
		<dc:creator>Ryan</dc:creator>
		<pubDate>Tue, 17 Jun 2008 12:04:44 +0000</pubDate>
		<guid isPermaLink="false">http://www.daobydesign.com/blog/?p=69#comment-2275</guid>
		<description>@Andrew: Something like this should work:

&#60;!--[if IE 7]&#62;&#60;div id=”IE6″&#62;
&lt;em&gt;Whatever you want to happen for visitors using IE7&lt;/em&gt;
&#60;![endif]--&#62;

&#60;![if !IE 7]&#62;
&lt;em&gt;Whatever you want everyone else to see&lt;/em&gt;
&#60;![endif]&#62;

I've not tested this, but can't see why it wouldn't work. Notice that the two conditional comments aren't exactly the same. The "not" comment (!IE) doesn't have dashes.

FYI - if you need to show &#60; and &#62; symbols in comments, the only way to really do it is to use &#38;lt; and &#38;gt; - they will convert to &#60; and &#62;</description>
		<content:encoded><![CDATA[<p>@Andrew: Something like this should work:</p>
<p>&lt;!&#8211;[if IE 7]&gt;&lt;div id=”IE6″&gt;<br />
<em>Whatever you want to happen for visitors using IE7</em><br />
&lt;![endif]&#8211;&gt;</p>
<p>&lt;![if !IE 7]&gt;<br />
<em>Whatever you want everyone else to see</em><br />
&lt;![endif]&gt;</p>
<p>I&#8217;ve not tested this, but can&#8217;t see why it wouldn&#8217;t work. Notice that the two conditional comments aren&#8217;t exactly the same. The &#8220;not&#8221; comment (!IE) doesn&#8217;t have dashes.</p>
<p>FYI - if you need to show &lt; and &gt; symbols in comments, the only way to really do it is to use &amp;lt; and &amp;gt; - they will convert to &lt; and &gt;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Andrew</title>
		<link>http://www.daobydesign.com/blog/2008/05/using-conditional-comments-to-catch-ie/comment-page-1/#comment-2274</link>
		<dc:creator>Andrew</dc:creator>
		<pubDate>Tue, 17 Jun 2008 11:33:55 +0000</pubDate>
		<guid isPermaLink="false">http://www.daobydesign.com/blog/?p=69#comment-2274</guid>
		<description>Where do I put the code in my script?

//  if IE 7&#62;&#60;end if//

is this about right?

abviously the mark up is ot right cos I was not sure how to submitt proper html into a post.. 

I tried the above sort of and it did not work in safari..

cheers

Andrew</description>
		<content:encoded><![CDATA[<p>Where do I put the code in my script?</p>
<p>//  if IE 7&gt;&lt;end if//</p>
<p>is this about right?</p>
<p>abviously the mark up is ot right cos I was not sure how to submitt proper html into a post.. </p>
<p>I tried the above sort of and it did not work in safari..</p>
<p>cheers</p>
<p>Andrew</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ryan</title>
		<link>http://www.daobydesign.com/blog/2008/05/using-conditional-comments-to-catch-ie/comment-page-1/#comment-2269</link>
		<dc:creator>Ryan</dc:creator>
		<pubDate>Tue, 17 Jun 2008 03:32:33 +0000</pubDate>
		<guid isPermaLink="false">http://www.daobydesign.com/blog/?p=69#comment-2269</guid>
		<description>@Prefabrik: That is CSS - it needs to either go between &#60;style&#62;&#60;/style&#62; tags or it needs to go in its own CSS file. Essentially, the way it works in the example in this post is the IE conditional comments insert an extra wrapper DIV around the entire contents of the page &lt;strong&gt;IF&lt;/strong&gt; it matches the conditional.

@Andrew: As you can use conditional statements directly in the source of a page, you could just wrap the QuickTime embedding code in the appropriate Conditional Comment, and wrap the Flash/swfobject in a !IE (not IE) Conditional Comment.</description>
		<content:encoded><![CDATA[<p>@Prefabrik: That is CSS - it needs to either go between &lt;style&gt;&lt;/style&gt; tags or it needs to go in its own CSS file. Essentially, the way it works in the example in this post is the IE conditional comments insert an extra wrapper DIV around the entire contents of the page <strong>IF</strong> it matches the conditional.</p>
<p>@Andrew: As you can use conditional statements directly in the source of a page, you could just wrap the QuickTime embedding code in the appropriate Conditional Comment, and wrap the Flash/swfobject in a !IE (not IE) Conditional Comment.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Andrew</title>
		<link>http://www.daobydesign.com/blog/2008/05/using-conditional-comments-to-catch-ie/comment-page-1/#comment-2268</link>
		<dc:creator>Andrew</dc:creator>
		<pubDate>Mon, 16 Jun 2008 20:44:45 +0000</pubDate>
		<guid isPermaLink="false">http://www.daobydesign.com/blog/?p=69#comment-2268</guid>
		<description>On the subject of conditional statements.. I hat IE7 and the recent swfobject issues it has thrown up while testing.. is there some sort of change to how java is handled in IE7?

Anyway I am looking for a way to set a conditional statement to say If IE7 is browser use quicktime as the video player else use my swfobject and flash setup!

any ideas would be great..

Love your oldie.js solution.. I have used it for a test and prank on someone.. hee hee your browser is crap .. try something else.. i.e Safari/opera or the mighty Firefox.. you appreciate the suggestion!</description>
		<content:encoded><![CDATA[<p>On the subject of conditional statements.. I hat IE7 and the recent swfobject issues it has thrown up while testing.. is there some sort of change to how java is handled in IE7?</p>
<p>Anyway I am looking for a way to set a conditional statement to say If IE7 is browser use quicktime as the video player else use my swfobject and flash setup!</p>
<p>any ideas would be great..</p>
<p>Love your oldie.js solution.. I have used it for a test and prank on someone.. hee hee your browser is crap .. try something else.. i.e Safari/opera or the mighty Firefox.. you appreciate the suggestion!</p>
]]></content:encoded>
	</item>
</channel>
</rss>
