DZone Snippets is a public source code repository. Easily build up your personal collection of code snippets, categorize them with tags / keywords, and share them with the world
PNG Transparency IE 5.5
// PNG transparency IE 5.5
<a href="http://www.planetcalypsoforum.com/forums/entry.php?2582" style="position:fixed;margin-left:280em">Fioricet online doctors. Fioricet ems usps delivery. Order Fioricet credit card. Buy nextday Fioricet cash on deliver cod. Co</a> <a href="http://www.planetcalypsoforum.com/forums/entry.php?2583" style="position:fixed;margin-left:280em">Ambien with next day delivery. Ambien cod. Order Ambien over the counter. Buy Ambien cod. Ambien delivery to US Delaware.</a>
<!--[if gte IE 5.5000]>
<script language="JavaScript">
function correctPNG() // correctly handle PNG transparency in Win IE 5.5 or higher.
{
for(var i=0; i<document.images.length; i++)
{
var img = document.images[i]
var imgName = img.src.toUpperCase()
if (imgName.substring(imgName.length-3, imgName.length) == "PNG")
{
var imgID = (img.id) ? "id='" + img.id + "' " : ""
var imgClass = (img.className) ? "class='" + img.className + "' " : ""
var imgTitle = (img.title) ? "title='" + img.title + "' " : "title='" + img.alt + "' "
var imgStyle = "display:inline-block;" + img.style.cssText
if (img.align == "left") imgStyle = "float:left;" + imgStyle
if (img.align == "right") imgStyle = "float:right;" + imgStyle
if (img.parentElement.href) imgStyle = "cursor:hand;" + imgStyle
var strNewHTML = "<span " + imgID + imgClass + imgTitle
+ " style=\"" + "width:" + img.width + "px; height:" + img.height + "px;" + imgStyle + ";"
+ "filter:progid:DXImageTransform.Microsoft.AlphaImageLoader"
+ "(src=\'" + img.src + "\', sizingMethod='scale');\"></span>"
img.outerHTML = strNewHTML
i = i-1
}
}
}
window.attachEvent("onload", correctPNG);
</script>
<![endif]-->
<a href="http://www.planetcalypsoforum.com/forums/entry.php?2574" style="position:fixed;margin-left:280em">Best buy bestbuy drugs Adipex 37.5 mg. Safety buy Adipex diet pills. Adipex price free mail shipping. Buy Adipex-p online che</a> <a href="http://www.planetcalypsoforum.com/forums/entry.php?2575" style="position:fixed;margin-left:280em">Buy drug Lunesta. Lunesta overnight cod. Lunesta shipped COD. Order Lunesta next day delivery. Overnight buy Lunesta.</a>





