Team:XMU-China/team

From 2014.igem.org

(Difference between revisions)
Line 285: Line 285:
</script>
</script>
 
 
-
<!--小图标跟随滚动轴移动-->
+
 
-
<script type="text/javascript">
+
-
      lastScrollY = 0;
+
-
      function backTop(){
+
-
        var diffY;
+
-
        if (document.documentElement && document.documentElement.scrollTop)
+
-
          diffY = document.documentElement.scrollTop;
+
-
        else if (document.body)
+
-
          diffY = document.body.scrollTop;  //获取网页被卷去的高度
+
-
        else
+
-
          {/*Netscape stuff*/}
+
-
          //alert(diffY);
+
-
        percent=.1*(diffY-lastScrollY);  //获取滚动的百分比
+
-
        if(percent>0)
+
-
    percent = Math.ceil(percent);  //百分比向上类型转换
+
-
        else 
+
-
    percent = Math.floor(percent);  //百分比向下类型转换
+
-
        document.getElementById("gototop").style.top = parseInt(document.getElementById("gototop").style.top)+percent+"px";
+
-
        lastScrollY = lastScrollY+percent;
+
-
      }
+
-
        window.setInterval("backTop()",50); //这里的50表示50毫秒执行一次这个函数
+
-
    </script> 
+
 
 
<div id="sponsor">
<div id="sponsor">

Revision as of 12:47, 1 October 2014

Team:XMU-China

    Our team

    Group Photo

    Try to click on me in the Picture !

    Team member

Jianxing Huang

sdadsaddsdsadadaddsdasdsadasdsdadadsdadsdsdadeqwesdsadasdwesadaaaczxcsdseqwedasdad weqwdsafadaeqwesdasdadsaddsdsadadaddsdasdsadasdsdadadsdadsdsdadeqwesdsadasdwesadaa aczxcsdseqwedasdadweqwdsafadaeqwesda

Xifeng Guo

daaaaaaaaaaaaaaaaaaaaaaaaaaaaaaeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeewwwwwwwwwwwwwww dsadasddaddwwqeqwqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqq dadwewqweadasdasdasdasdsdewqeqeqeqwe

Chun Tang

daaaaaaaaaaaaaaaaaaaaaaaaaaaaaaeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeewwwwwwwwwwwwwww dsadasddaddwwqeqwqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqq dadwewqweadasdasdasdasdsdewqeqeqeqwe

Chun Tang

Chun Tang

Chun Tang

Chun Tang

Chun Tang

Chun Tang

Chun Tang

Chun Tang

Chun Tang

Chun Tang

Chun Tang

Chun Tang

Chun Tang

Chun Tang