WebFX WebBoard
Message Thread:
View All Messages
Back to WebFX
 strange behaviour layers with ieemu.js in mozilla, Jakub Kahovec, September 23, 2003
         Re:strange behaviour layers with ieemu.js in mozilla, Jakub Kahovec, October 6, 2003
             Re:strange behaviour layers with ieemu.js in mozilla, Erik Arvidsson, October 9, 2003
     Re:strange behaviour layers with ieemu.js in mozilla, Erik Arvidsson, September 23, 2003

Subject: Re:strange behaviour layers with ieemu.js in mozilla From: Jakub Kahovec Date: October 6, 2003
I found bug. Problem is in file genmove.js in function makeOnTop, specifically in this :
el.style.zIndex = max + 1

mozilla create create string instead number

i.e.
max = 3
el.style.zIndex = max + 1 -> el.style.zIndex = 31
max = 31
el.style.zIndex = max + 1 -> el.style.zIndex = 311

I solve this bug this way :

++max;
el.style.zIndex = max;

now it run properly

Jakub




Reply
Name: 
Email: 
Subject: 

Enter your reply to this message below. HTML tags are not supported but words that start with http://, ftp:// or mailto: are converted to links.


View All Messages
Back to WebFX