// correctly handle PNG transparency in Win IE 5.5 or higher. function correctPNG() { 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 var imgAttribs = img.attributes; for (var j=0; j" img.outerHTML = strNewHTML i = i-1 } } } var supported = /MSIE (5\.5)|[6789]/.test(navigator.userAgent) && navigator.platform == "Win32"; if (supported) window.attachEvent("onload", correctPNG); WebSVN - websvn - Blame - Rev 3 - /templates/BlueGrey/png.js
  jablonka.czprosek.czf

websvn

Subversion Repositories:
[/] [templates/] [BlueGrey/] [png.js] - Blame information for rev 3

 

Line No. Rev Author Line

Powered by WebSVN 2.2.1