Team:Grenoble/script
From 2012.igem.org
(Difference between revisions)
Line 1: | Line 1: | ||
<html> | <html> | ||
<script type="text/javascript"> | <script type="text/javascript"> | ||
- | |||
(function(r,o){ | (function(r,o){ | ||
var t=navigator.appVersion.match(/MSIE/i)?navigator.appVersion.replace(/.*?MSIE ([^;]+);.*/i,"$1"):null; | var t=navigator.appVersion.match(/MSIE/i)?navigator.appVersion.replace(/.*?MSIE ([^;]+);.*/i,"$1"):null; | ||
Line 82: | Line 81: | ||
alert("e.opacity=0"); | alert("e.opacity=0"); | ||
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{ | ||
alert("e.opacity!=0"); | alert("e.opacity!=0"); | ||
temp=parseFloat(e.opacity); | temp=parseFloat(e.opacity); | ||
- | alert("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:51, 13 July 2012