Difference between revisions of "Team:Jilin China/home"

Line 20: Line 20:
 
  height: 100%;
 
  height: 100%;
 
  width:100%;
 
  width:100%;
  overflow: auto;
+
  overflow: hidden;
 +
 
}
 
}
 
.section {
 
.section {
Line 61: Line 62:
 
<script type="text/javascript" src="https://2018.igem.org/Template:Jilin_China/Full_Page.js?
 
<script type="text/javascript" src="https://2018.igem.org/Template:Jilin_China/Full_Page.js?
 
action=raw&ctype=text/javascript"></script>
 
action=raw&ctype=text/javascript"></script>
 +
<script>
 +
$(document).ready(function(){
 +
'use strict';
 +
  var document_Height = document.body.clientHeight;
 +
  var dosScroll = false;
 +
  $(".s1").scroll(function(){
 +
  if (doScroll){
 +
    $("s1").animate({top:-document_Height},700,"swing");
 +
  }
 +
  });
 +
 
 +
}
 +
}
 +
</script>
 
</html>
 
</html>

Revision as of 06:58, 15 July 2018

iGEM18

JILIN CHINA

Section 2

Section 3

Section 4