From d5224f0d9c794953a6bb5bb264e856cccc4eb046 Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Thu, 8 Sep 2005 05:39:55 +0100 Subject: miscellaneous MSIE compatibility fixes --- pngfix.js | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 pngfix.js (limited to 'pngfix.js') diff --git a/pngfix.js b/pngfix.js new file mode 100644 index 000000000..c8ef4b28e --- /dev/null +++ b/pngfix.js @@ -0,0 +1,27 @@ +// stolen from http://homepage.ntlworld.com/bobosola/pngtestfixed.htm + +function correctPNG() // correctly handle PNG transparency in Win IE 5.5 or higher. + { + for(var i=0; i" + img.outerHTML = strNewHTML + i = i-1 + } + } + } +window.attachEvent("onload", correctPNG); -- cgit v1.2.3