Difference between revisions of "Team:Greece/our team"

Line 11: Line 11:
  
 
                 $('.svgGraphic').click(function () {
 
                 $('.svgGraphic').click(function () {
                     $('html, body').animate({scrollTo: $(window).height()}, 'slow');
+
                     $('html, body').animate({scrollTo: $('#profile').height()}, 'slow');
 
                     return false;
 
                     return false;
 
                 });
 
                 });
 +
document.querySelector('#profile').scrollIntoView({
 +
  behavior: 'smooth'
 +
});
 
         </script>
 
         </script>
  

Revision as of 09:52, 12 August 2017