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;
-
         var temp=if(!e.opacity){
+
         var temp=if(!e.opacity){4
-
            parseFloat(e.opacity);
+
         }
         }
         this.from=(b===undefined?temp:b);
         this.from=(b===undefined?temp:b);

Revision as of 16:21, 12 July 2012