Last Updated: February 25, 2016
·
3.452K
· milesj

Scroll window to an element in MooTools

Use this little snippet to animate the window scroll to the coordinates of a specific element.

new Fx.Scroll(window).toElement(element);