Template:SUSTC A 1
From 2012.igem.org
(Difference between revisions)
(Created page with "<html xmlns="http://www.w3.org/1999/xhtml"> <head> <STYLE type=text/css> <!--我们需要先把igem原网站的一些东西删掉--> #globalWrapper {width: 100%; } #top-section...") |
|||
Line 40: | Line 40: | ||
window.onscroll=function(){getScrollTop()>0?obj.style.display="":obj.style.display="none";} | window.onscroll=function(){getScrollTop()>0?obj.style.display="":obj.style.display="none";} | ||
obj.onclick=function(){ | obj.onclick=function(){ | ||
- | var goTop=setInterval(scrollMove, | + | var goTop=setInterval(scrollMove,100); |
function scrollMove(){ | function scrollMove(){ | ||
setScrollTop(getScrollTop()/1.1); | setScrollTop(getScrollTop()/1.1); |
Revision as of 05:57, 22 September 2012