Team:Grenoble/script
From 2012.igem.org
(Difference between revisions)
Line 79: | Line 79: | ||
var temp; | var temp; | ||
if(!e.opacity){ | if(!e.opacity){ | ||
+ | alert("e.opacity=0"); | ||
if(e.opacity!==0){ | if(e.opacity!==0){ | ||
temp=this.to>0?0:1 | temp=this.to>0?0:1 | ||
Line 85: | Line 86: | ||
} | } | ||
}else{ | }else{ | ||
- | temp=parseFloat(e.opacity) | + | alert("e.opacity=0"); |
+ | temp=parseFloat(e.opacity); | ||
+ | alert("temp=parseFloat(e.opacity)") | ||
} | } | ||
this.from=(b===undefined?temp:b); | this.from=(b===undefined?temp:b); |
Revision as of 09:45, 13 July 2012