html - Use jQuery to move back to top of anchor when scrolled away -


basically have full screen website scroll through content through links anchors.

what want able page automatically scroll top of anchor when user scrolls away mouse wheel or scroll bar, viewer of site never have half of 1 box of content showing , half of other.

example:

http://nationallgbtmuseum.org/#/home/

when scroll away 1 bit of content page automatically scroll top of section.

i hope makes sense, great.

what you're looking sounds you're after described in question: snap top of div/element on scroll

you @ these questions:


Popular posts from this blog

How to calculate SNR of signals in MATLAB? -

c# - Attempting to upload to FTP: System.Net.WebException: System error -

ios - UISlider customization: how to properly add shadow to custom knob image -