<?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>&#60;SourceBench/&#62; Your place to share code stuff &#187; explorer</title>
	<atom:link href="http://sourcebench.com/tag/explorer/feed/" rel="self" type="application/rss+xml" />
	<link>http://sourcebench.com</link>
	<description></description>
	<lastBuildDate>Tue, 04 May 2010 07:57:45 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Fixes the png 24 bit transparency with Internet Explorer</title>
		<link>http://sourcebench.com/languages/javascript/fixes-the-png-24-bit-transparency-with-internet-explorer/</link>
		<comments>http://sourcebench.com/languages/javascript/fixes-the-png-24-bit-transparency-with-internet-explorer/#comments</comments>
		<pubDate>Fri, 27 Nov 2009 12:32:02 +0000</pubDate>
		<dc:creator>The SourceBench</dc:creator>
				<category><![CDATA[JavaScript]]></category>
		<category><![CDATA[browser]]></category>
		<category><![CDATA[explorer]]></category>
		<category><![CDATA[fix]]></category>
		<category><![CDATA[ie]]></category>
		<category><![CDATA[internetexplorer]]></category>
		<category><![CDATA[png]]></category>
		<category><![CDATA[pngfix]]></category>
		<category><![CDATA[quirk]]></category>

		<guid isPermaLink="false">http://sourcebench.com/languages/javascript/sourcecode-languagejavascript-va/</guid>
		<description><![CDATA[//&#60;!--[if lt IE 7]&#62;
//&#60;script type=&#34;text/javascript&#34; src=&#34;unitpngfix.js&#34;&#62;&#60;/script&#62;
//&#60;![endif]--&#62;
var clear=&#34;images/clear.gif&#34;; //path to clear.gif

document.write('&#60;script type=&#34;text/javascript&#34; id=&#34;ct&#34; defer=&#34;defer&#34; src=&#34;javascript:void(0)&#34;&#62;&#60;\/script&#62;');var ct=document.getElementById(&#34;ct&#34;);ct.onreadystatechange=function(){pngfix()};pngfix=function(){var els=document.getElementsByTagName('*'),ip=/\.png/i,al=&#34;progid:DXImageTransform.Microsoft.AlphaImageLoader(src='&#34;,i=els.length,uels=new Array(),c=0;while(i--&#62;0){if(els[i].className.match(/unitPng/)){uels[c]=els[i];c++;}}if(uels.length==0)pfx(els);else pfx(uels);function pfx(els){i=els.length;while(i--&#62;0){var el=els[i],es=el.style,elc=el.currentStyle,elb=elc.backgroundImage;if(el.src&#38;&#38;el.src.match(ip)&#38;&#38;!es.filter){es.height=el.height;es.width=el.width;es.filter=al+el.src+&#34;',sizingMethod='crop')&#34;;el.src=clear;}else{if(elb.match(ip)){var path=elb.split('&#34;'),rep=(elc.backgroundRepeat=='no-repeat')?'crop':'scale',elkids=el.getElementsByTagName('*'),j=elkids.length;es.filter=al+path[1]+&#34;',sizingMethod='&#34;+rep+&#34;')&#34;;es.height=el.clientHeight+'px';es.backgroundImage='none';if(j!=0){if(elc.position!=&#34;absolute&#34;)es.position='static';while(j--&#62;0)if(!elkids[j].style.position)elkids[j].style.position=&#34;relative&#34;;}}}}}}
]]></description>
			<content:encoded><![CDATA[<pre class="brush: jscript;">//&lt;!--[if lt IE 7]&gt;
//&lt;script type=&quot;text/javascript&quot; src=&quot;unitpngfix.js&quot;&gt;&lt;/script&gt;
//&lt;![endif]--&gt;
var clear=&quot;images/clear.gif&quot;; //path to clear.gif

document.write('&lt;script type=&quot;text/javascript&quot; id=&quot;ct&quot; defer=&quot;defer&quot; src=&quot;javascript:void(0)&quot;&gt;&lt;\/script&gt;');var ct=document.getElementById(&quot;ct&quot;);ct.onreadystatechange=function(){pngfix()};pngfix=function(){var els=document.getElementsByTagName('*'),ip=/\.png/i,al=&quot;progid:DXImageTransform.Microsoft.AlphaImageLoader(src='&quot;,i=els.length,uels=new Array(),c=0;while(i--&gt;0){if(els[i].className.match(/unitPng/)){uels[c]=els[i];c++;}}if(uels.length==0)pfx(els);else pfx(uels);function pfx(els){i=els.length;while(i--&gt;0){var el=els[i],es=el.style,elc=el.currentStyle,elb=elc.backgroundImage;if(el.src&amp;&amp;el.src.match(ip)&amp;&amp;!es.filter){es.height=el.height;es.width=el.width;es.filter=al+el.src+&quot;',sizingMethod='crop')&quot;;el.src=clear;}else{if(elb.match(ip)){var path=elb.split('&quot;'),rep=(elc.backgroundRepeat=='no-repeat')?'crop':'scale',elkids=el.getElementsByTagName('*'),j=elkids.length;es.filter=al+path[1]+&quot;',sizingMethod='&quot;+rep+&quot;')&quot;;es.height=el.clientHeight+'px';es.backgroundImage='none';if(j!=0){if(elc.position!=&quot;absolute&quot;)es.position='static';while(j--&gt;0)if(!elkids[j].style.position)elkids[j].style.position=&quot;relative&quot;;}}}}}}
</pre>]]></content:encoded>
			<wfw:commentRss>http://sourcebench.com/languages/javascript/fixes-the-png-24-bit-transparency-with-internet-explorer/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
