Difference between revisions of "Team:XJTLU-CHINA/test"

Line 51: Line 51:
 
<script>
 
<script>
 
$(window).scroll(function() {
 
$(window).scroll(function() {
   if ($(document).scrollTop() > 50) {
+
   if ($(document).scrollTop() > 30) {
 
     $('nav').addClass('shrink');
 
     $('nav').addClass('shrink');
 
   } else {
 
   } else {
Line 121: Line 121:
  
 
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js" integrity="sha384-Tc5IQib027qvyjSMfHjOMaLkfuWVxZxUPnCJA7l2mCWNIpG9mGCD8wGNIcPD7Txa" crossorigin="anonymous"></script>
 
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js" integrity="sha384-Tc5IQib027qvyjSMfHjOMaLkfuWVxZxUPnCJA7l2mCWNIpG9mGCD8wGNIcPD7Txa" crossorigin="anonymous"></script>
<script src="https://2016.igem.org/Team:XJTLU-CHINA/js/jquery?action=raw&ctype=text/javascript"></script>
+
<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.1.1/jquery.min.js"></script>
  
  
  
 
</html>
 
</html>

Revision as of 12:37, 11 October 2016