To use localScroll with speed and easing: Import jQuery, scrollTo , localScroll, and easing . Then put this script under it:
<script type="text/javascript">
$(function() {
$('#nav').localScroll({
duration: 3000,
easing: 'easeOutQuint'
});
});
</script>
source
share