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);
Written by Miles Johnson
Related protips
Have a fresh tip? Share with Coderwall community!
Post
Post a tip
Sponsored by #native_company# — Learn More
#native_title#
#native_desc#