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 temp1=this.to>0?0:1;
+
         this.from=(b===undefined?(parseFloat(e.opacity)):b);
-
        var temp2=(!e.opacity)&&(e.opacity!==0);
+
     }
     }

Revision as of 16:33, 11 July 2012