Search code examples
javascriptjquerygsap

How to cycle 100% height pages and URLs after scrolling a threshold amount?


How does one implement the beautiful "scroll to view next or previous" feature as seen here:

http://activetheory.net/work/

The page is always 100% of the viewport height. When scrolling, if you reach a certain threshold, the URL changes and the new content is displayed in the same format.

I'm looking to for a bare bones example on how to cycle 100% height pages and URLs after scrolling a threshold amount.


Solution

  • Never mind, found the answer!

    https://github.com/peachananr/onepage-scroll