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