scrollTo()
This function can be called specifically to scroll to an element, but it also runs automatically on any links where the href is an ID that starts with (unless the class is added to the element) or when the class is present. After scrolling, the element will be "focused" on to maintain keyboard navigability. If Read More »