Team:Grenoble/script
From 2012.igem.org
(Difference between revisions)
Line 1: | Line 1: | ||
<html> | <html> | ||
<script type="text/javascript"> | <script type="text/javascript"> | ||
+ | alert("coucou") | ||
(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 79: | Line 80: | ||
var temp=if(!e.opacity){ | var temp=if(!e.opacity){ | ||
if(e.opacity!==0){ | if(e.opacity!==0){ | ||
- | this.to>0?0:1 | + | this.to>0?0:1; |
}else{ | }else{ | ||
- | parseFloat(e.opacity) | + | parseFloat(e.opacity); |
} | } | ||
}else{ | }else{ | ||
- | parseFloat(e.opacity) | + | parseFloat(e.opacity); |
} | } | ||
this.from=(b===undefined?temp:b); | this.from=(b===undefined?temp:b); |
Revision as of 16:20, 12 July 2012