From: Trevor Parscal Date: Tue, 23 Jun 2009 22:30:50 +0000 (+0000) Subject: Added optional parameter to fixalpha to support using it with skins which have differ... X-Git-Tag: 1.31.0-rc.0~41234 X-Git-Url: http://git.cyclocoop.org/data/%24self?a=commitdiff_plain;h=4b4d21eb2bba136bc0a22f62f8a9b14a13f45b7d;p=lhc%2Fweb%2Fwiklou.git Added optional parameter to fixalpha to support using it with skins which have different ID naming schemes --- diff --git a/skins/common/IEFixes.js b/skins/common/IEFixes.js index f85f506c83..0442f454a4 100644 --- a/skins/common/IEFixes.js +++ b/skins/common/IEFixes.js @@ -16,11 +16,11 @@ function hookit() { } // png alpha transparency fixes -function fixalpha() { +function fixalpha( logoId ) { // bg if (isMSIE55 && !doneIEAlphaFix) { - var plogo = document.getElementById('p-logo'); + var plogo = document.getElementById( logoId || 'p-logo' ); if (!plogo) return; var logoa = plogo.getElementsByTagName('a')[0];