png.htc 689 Bytes
Newer Older
Jean-Baptiste Kempf's avatar
Jean-Baptiste Kempf committed
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17
/* Made by Furu systems - furusystems.com */
<public:component lightWeight="true">
<public:attach event="oncontentready" onevent="png()" />
<public:method name="png" />
<script>
    function png(){
      if(parentNode.className != "DXImageTransformed"){ 
        try{       
          runtimeStyle.filter = "progid:DXImageTransform.Microsoft.Alpha(opacity='0');";
          applyElement(element.document.createElement("span"));
          parentNode.runtimeStyle.filter = "progid:DXImageTransform.Microsoft.AlphaImageLoader(src='"+src+"',sizingMethod='scale');";
          parentNode.className ="DXImageTransformed";
        } catch(e){ return; }
      }
    }
</script>
</public:component>