From: Gabriel Wicke Date: Sat, 10 Apr 2004 20:09:06 +0000 (+0000) Subject: IEFixes js with png alpha fix function X-Git-Tag: 1.3.0beta1~468 X-Git-Url: https://git.cyclocoop.org/%242?a=commitdiff_plain;h=7171b5213267688120e423cdbe56842d1c7c25d4;p=lhc%2Fweb%2Fwiklou.git IEFixes js with png alpha fix function --- diff --git a/stylesheets/IEFixes.js b/stylesheets/IEFixes.js new file mode 100644 index 0000000000..503b306173 --- /dev/null +++ b/stylesheets/IEFixes.js @@ -0,0 +1,44 @@ +// IE fix javascript + +// png alpha transparency fixes +window.attachEvent("onload", fixalpha); + +function fixalpha(){ + // bg + var rslt = navigator.appVersion.match(/MSIE (\d+\.\d+)/, ''); + if (rslt != null && Number(rslt[1]) >= 5.5) + { + for (i=0; i" + img.outerHTML = strNewHTML + i = i-1 + } + } + } +}