Difference between revisions of "Team:Greece/Project"

Line 66: Line 66:
 
       $(".circlez, .animate_text").on("click", function( e ) {
 
       $(".circlez, .animate_text").on("click", function( e ) {
 
      
 
      
    e.preventDefault();
+
          e.preventDefault();
  
    $("body, html").animate({  
+
        $("body, html").animate({  
        scrollTop: $( $(this).attr('href') ).offset().top  
+
            scrollTop: $( $(this).attr('href') ).offset().top()
    }, 600);
+
        }, 600);
 
      
 
      
});
+
      });
  
        //scrollTillBottom();
+
      //scrollTillBottom();
 
     }
 
     }
  

Revision as of 08:59, 1 September 2017

Loading...