Team:Grenoble/script
From 2012.igem.org
(Difference between revisions)
Line 78: | Line 78: | ||
this.to=a!==undefined?a:1; | this.to=a!==undefined?a:1; | ||
var e=this.elem.style; | var e=this.elem.style; | ||
- | + | this.from=(b===undefined?parseFloat(e.opacity):b); | |
- | + | ||
- | this.from=(b===undefined? | + | |
d=d||{}; | d=d||{}; | ||
this.duration=d.duration||500; | this.duration=d.duration||500; |
Revision as of 11:48, 13 July 2012