stfc2 team mailing list archive
-
stfc2 team
-
Mailing list archive
-
Message #00076
[Bug 714555] Re: Menu drop down con IE7+
Per correggere il problema, occorre modificare la funzione lib_bwcheck
con la versione seguente:
function lib_bwcheck(){ //Browsercheck (needed)
this.ver=navigator.appVersion; this.agent=navigator.userAgent
this.dom=document.getElementById?1:0
this.ie5=(this.ver.indexOf("MSIE 5")>-1 && this.dom)?1:0;
this.ie6=(this.ver.indexOf("MSIE 6")>-1 && this.dom)?1:0;
this.ie7=(this.ver.indexOf("MSIE 7")>-1 && this.dom)?1:0;
this.ie8=(this.ver.indexOf("MSIE 8")>-1 && this.dom)?1:0;
this.ie4=(document.all && !this.dom)?1:0;
this.ie=this.ie4||this.ie5||this.ie6 || this.ie7 || this.ie8
this.mac=this.agent.indexOf("Mac")>-1
this.opera5=this.agent.indexOf("Opera 5")>-1
this.ns6=(this.dom && parseInt(this.ver) >= 5) ?1:0;
this.ns7=(this.dom && parseInt(this.ver) >= 5) ?1:0;
this.ns4=(document.layers && !this.dom)?1:0;
this.bw=(this.ie8 ||this.ie7 || this.ie6 || this.ie5 || this.ie4 || this.ns4 || this.ns6 || this.opera5 || this.dom)
return this
}
ed applicare la patch in allegato.
** Changed in: stfc2
Assignee: (unassigned) => Andrea (kirirur)
** Changed in: stfc2
Status: New => Confirmed
** Patch added: "index.patch"
https://bugs.launchpad.net/stfc2/+bug/714555/+attachment/1856276/+files/index.patch
** Changed in: stfc2
Status: Confirmed => Fix Released
--
You received this bug notification because you are a member of STFC2
developers, which is the registrant for STFC 2.
https://bugs.launchpad.net/bugs/714555
Title:
Menu drop down con IE7+
Status in Star Trek: Frontline Combat 2:
Fix Released
Bug description:
Le skin con i menu` drop down (es klingon e romulani), non funzionano
con Internet Explorer 8 (e forse 9).
La versione coolmenus implementata nella skin non prevede questa
versione di browser ed i menu` non compaiono. L'autore del javascript
ha creato nel corso degli anni altri menu`, che pero` andrebbero
riadattati per integrarsi nella skin.
References