<?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>williams &#124; silverpeakarts.ca &#187; wed development</title>
	<atom:link href="http://www.silverpeak.ca/spblog/category/graphic-resource/wed-development/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.silverpeak.ca/spblog</link>
	<description>the art and mind of me</description>
	<lastBuildDate>Fri, 16 Jul 2010 17:23:48 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Blue Boxes, PNGs, and Windows IE 6</title>
		<link>http://www.silverpeak.ca/spblog/2009/10/20/boxes_explorer6_png/</link>
		<comments>http://www.silverpeak.ca/spblog/2009/10/20/boxes_explorer6_png/#comments</comments>
		<pubDate>Tue, 20 Oct 2009 15:15:02 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[wed development]]></category>
		<category><![CDATA[6]]></category>
		<category><![CDATA[blue box]]></category>
		<category><![CDATA[explorer]]></category>
		<category><![CDATA[IE]]></category>
		<category><![CDATA[javascript]]></category>
		<category><![CDATA[png]]></category>
		<category><![CDATA[solution]]></category>
		<category><![CDATA[transparency]]></category>
		<category><![CDATA[transparent]]></category>
		<category><![CDATA[web]]></category>
		<category><![CDATA[Windows]]></category>

		<guid isPermaLink="false">http://www.silverpeak.ca/spblog/?p=592</guid>
		<description><![CDATA[The Problem
Transparent PNGs appear with Blue Boxes where the transparency should be in Windows IE 6 and earlier. WHY? Simply put, the support for transparent PNG images was not implemented in Windows IE until version 7.
The Solution
I found many scripts online dealing with the issue on an image by image basis. Basically, you would have [...]]]></description>
			<content:encoded><![CDATA[<h3>The Problem</h3>
<p>Transparent PNGs appear with Blue Boxes where the transparency should be in Windows IE 6 and earlier. WHY? Simply put, the support for transparent PNG images was not implemented in Windows IE until version 7.<span id="more-592"></span></p>
<div id="attachment_593" class="wp-caption alignnone" style="width: 438px"><img src="http://www.silverpeak.ca/spblog/wp-content/uploads/2009/10/bluebox_b4.jpg" alt="The transparent areas of a PNG are converted to BLUE in Windows IE 6." title="bluebox_b4" width="428" height="329" class="size-full wp-image-593" /><p class="wp-caption-text">The transparent areas of a 24-bit transparent PNG are converted to BLUE in MS Explorer 6.</p></div>
<h3>The Solution</h3>
<p>I found many scripts online dealing with the issue on an image by image basis. Basically, you would have to include the script(s) with every image uploaded. Hardly Practical.</p>
<p>Then <a href="http://www.youngpup.net/projects/sleight/">Youngpup</a> cam up with a solution that placed the fix in the head of your document so that universally all your PNG tranparencies would be supported throughout your document with no extra code to implement. It worked perfectly (see image below).</p>
<div id="attachment_609" class="wp-caption alignnone" style="width: 422px"><img src="http://www.silverpeak.ca/spblog/wp-content/uploads/2009/10/bluebox_after.jpg" alt="After inserting the sleight.js fix from Youngpup Explorer 6 was able to properly display the transparent images." title="bluebox_after" width="412" height="328" class="size-full wp-image-609" /><p class="wp-caption-text">After inserting the sleight.js fix from Youngpup Explorer 6 was able to properly display the transparent images.</p></div>
<h3>How to use</h3>
<p>Put the following code in the head portion of your page between &lt;head&gt; and &lt;/head&gt;</p>
<blockquote><p>&lt;script language=&#34;javascript&#34; src=&#34;sleight.js&#34;&gt;&lt;/script&gt;</p></blockquote>
<p>You may wish to modify the path to sleight.js. For example, if you put it in a scripts folder the path would be src=&#34;scripts/sleight.js&#34;.</p>
<p>Then <a href="http://www.silverpeak.ca/scripts/sleight.js">Download sleight.js</a> and place in the desired location on your site. Please do not remove <a href="http://www.youngpup.net/projects/sleight/">Aaron Boodman&#8217;s</a> copyright info at the beginning of the script. It&#8217;s important to respect the authors. That&#8217;s it!</p>
<h3>Note:</h3>
<p>Drew McLellan in his <a href="http://allinthehead.com/retro/289/sleight-update-alpha-png-backgrounds-in-ie#about">ALL IN THE &lt;HEAD&gt;</a> Blog has published an update of the script which deals with situations where you have image swapping. I haven&#8217;t tested it out yet but it may be worth a look.</p>
<p>thanks</p>
<p>David</p>
<p><script type="text/javascript"><!--
google_ad_client = "pub-4054653056010698";
/* 728x90, created 12/22/08 */
google_ad_slot = "8932327171";
google_ad_width = 728;
google_ad_height = 90;
//-->
</script><br />
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script></p>
]]></content:encoded>
			<wfw:commentRss>http://www.silverpeak.ca/spblog/2009/10/20/boxes_explorer6_png/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
