Team:XMU-China/team

From 2014.igem.org

(Difference between revisions)
Line 1: Line 1:
-
{{:Team:XMU-China/nav_bar}}
 
<html lang=“en” >
<html lang=“en” >
<head>
<head>
Line 286: Line 285:
</script>
</script>
<script type="text/javascript">
<script type="text/javascript">
-
      lastScrollY = 0;
+
      {{:Team:XMU-China/main js}}
-
      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>
</script>

Revision as of 13:41, 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