From 5de668eddcded4b826634f6ee12ecf326e16bb62 Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Mon, 21 Dec 2009 21:28:18 +0300 Subject: move some aux files to lib/ --- lib/pngfix.js | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 lib/pngfix.js (limited to 'lib/pngfix.js') diff --git a/lib/pngfix.js b/lib/pngfix.js new file mode 100644 index 000000000..c8ef4b28e --- /dev/null +++ b/lib/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