Fix bug with bits of hidden admin bar panels showing through, or at least it

works now in Firefox.
This commit is contained in:
Drake 2006-12-06 23:06:01 +00:00
parent 9a86e99710
commit c4d31b58fd
2 changed files with 10 additions and 6 deletions

View file

@ -211,12 +211,15 @@ function sp_showPanel(nr) {
this.aktPanel=nr;
l = this.panels.length;
for (i=0;i<l;i++) {
//alert(nr);
if (i>nr) {
this.panels[i].obj.style.top=this.height-((l-i)*slidePanelButtonHeight)+"px";
} else {
this.panels[i].obj.style.top=i*slidePanelButtonHeight+"px";
}
//alert(nr);
if (i>nr) {
this.panels[i].obj.style.top=this.height-((l-i)*slidePanelButtonHeight)+"px";
} else {
this.panels[i].obj.style.top=i*slidePanelButtonHeight+"px";
}
// Fix bug with bits of other panels showing through.
this.panels[i].objf.style.visibility = (i == nr)? 'visible' : 'hidden';
}
}