Difference between revisions of "Template:Groningen"

Line 985: Line 985:
 
</style>
 
</style>
  
<!-- fucking lol piece of shit igem site  
+
<!-- fucking lol piece of shit igem site -->
<script src="https://static.igem.org/mediawiki/2017/6/60/Scrollspy.txt"></script>-->
+
<script src="https://static.igem.org/mediawiki/2017/6/60/Scrollspy.txt"></script>
  
 
<script>
 
<script>
Line 993: Line 993:
  
 
// Add smooth scrolling on all links inside the navbar
 
// Add smooth scrolling on all links inside the navbar
/*
 
 
var jump=function(e)
 
var jump=function(e)
 
{
 
{
Line 1,029: Line 1,028:
 
         setTimeout(function(){
 
         setTimeout(function(){
 
             $('html, body').scrollTop(0).show();
 
             $('html, body').scrollTop(0).show();
             //$("body").scrollspy({target: "#myScrollspy", offset:100});
+
             $("body").scrollspy({target: "#myScrollspy", offset:100});
 
             jump();
 
             jump();
 
         }, 0);
 
         }, 0);
 
     }else{
 
     }else{
 
         $('html, body').show();
 
         $('html, body').show();
         //$("body").scrollspy({target: "#myScrollspy", offset:100});
+
         $("body").scrollspy({target: "#myScrollspy", offset:100});
 
     }
 
     }
 
});
 
});
*/
 
  
 +
 +
 +
/*
 
// Add smooth scrolling on all links inside the navbar
 
// Add smooth scrolling on all links inside the navbar
 
var animateScroll = function(target, offset) {
 
var animateScroll = function(target, offset) {
Line 1,084: Line 1,085:
 
         //$("body").scrollspy({target: "#myScrollspy", offset:100});
 
         //$("body").scrollspy({target: "#myScrollspy", offset:100});
 
     }
 
     }
});
+
});*/
 
</script>
 
</script>
  
 
</html>
 
</html>

Revision as of 20:08, 31 October 2017