Team:Evry/template v1

From 2013.igem.org

(Difference between revisions)
 
Line 85: Line 85:
</script>
</script>
-
<script type="text/javascript">
 
-
(function(){if(!this.favicon){var c=this.document.getElementsByTagName("head")[0],e,f,g,h=null,j=function(a){var b=document.createElement("link");b.type="image/x-icon";b.rel="icon";b.href=a;for(var a=c.getElementsByTagName("link"),d=a.length;0<=--d;/\bicon\b/i.test(a[d].getAttribute("rel"))&&c.removeChild(a[d]));c.appendChild(b)};this.favicon={defaultPause:2E3,change:function(a,b){clearTimeout(h);b&&(document.title=b);""!==a&&j(a)},animate:function(a,b){clearTimeout(h);for(var d=new Image,i=0;i<a.length;i++)d.src=
 
-
a[i];f=a;e=b?b:this.defaultPause;g=0;this.change(f[0]);h=setTimeout(function k(){g=(g+1)%f.length;j(f[g]);h=setTimeout(k,e)},e)},stopAnimate:function(){clearTimeout(h)}}};})();
 
-
</script>
 
</html>
</html>

Latest revision as of 18:04, 19 October 2013