Codepen user Eric showcased a cool JavaScript scroll detection script that can be adopted on any websites to enhance user experience. This is done by triggering certain actions based on the percentage of page scrolled – for instance, showing social sharing buttons or remembering the user scrolling progress on a very long page.
comment 0