Difference between revisions of "Team:Uppsala/test5"

Line 401: Line 401:
 
     scrollLink.each(function() {
 
     scrollLink.each(function() {
 
        
 
        
       var sectionOffset = $(this.hash).offset().top - 50;
+
       var sectionOffset = $(this.hash).offset().top + 50;
 
        
 
        
 
       if ( sectionOffset <= scrollbarLocation ) {
 
       if ( sectionOffset <= scrollbarLocation ) {

Revision as of 23:24, 16 October 2018




Uppsala iGEM 2018