Template:SUSTC A 2

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...")
 
(One intermediate revision not shown)
Line 20: Line 20:
-
BODY {
 
-
HEIGHT: 3600px;
 
-
}
 
#goTopBtn {
#goTopBtn {
POSITION: fixed; TEXT-ALIGN: center; LINE-HEIGHT: 30px; WIDTH: 30px; BOTTOM: 35px; HEIGHT: 33px; FONT-SIZE: 12px; CURSOR: pointer; RIGHT: 0px; _position: absolute; _right: auto
POSITION: fixed; TEXT-ALIGN: center; LINE-HEIGHT: 30px; WIDTH: 30px; BOTTOM: 35px; HEIGHT: 33px; FONT-SIZE: 12px; CURSOR: pointer; RIGHT: 0px; _position: absolute; _right: auto
Line 40: Line 37:
         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,10);
+
             var goTop=setInterval(scrollMove,5);
             function scrollMove(){
             function scrollMove(){
                     setScrollTop(getScrollTop()/1.1);
                     setScrollTop(getScrollTop()/1.1);

Latest revision as of 06:39, 22 September 2012