CharisKomos (Talk | contribs) |
CharisKomos (Talk | contribs) |
||
Line 11: | Line 11: | ||
$('.svgGraphic').click(function () { | $('.svgGraphic').click(function () { | ||
− | $('html, body').animate({scrollTo: $( | + | $('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