Smooth scrolling with easing isn’t working

I have a JQuery function which should allow smooth scrolling with JQuery easing however it does not work and I can’t seem to find the error. The code for the function is $(function(){ $(‘a[href*=…

Simple easing function in javascript

I’m having trouble figuring out this simple math problem. I have spent over two hours reading through various related answers on SO and Google, but it seems my high school math knowledge is gone. On …