scroll-iv
Smooth cross browser scrollIntoView
usage
var scrollIntoView =// This will smoothly scroll element into view in all browsers using cubic// bezier animation.// you can change scroll speed:var animation =// if you decide that you need to cancel animation:animation
Second function argument is compatible with amator
configuration
You can pass different easing functions:
license
MIT