Load next page on scroll


I have some custom code which automatically loads the next page on scroll. However, you can not return to the previous page.

Is there a way to either -

  1. Ensure the browsers back button works on the next page
  2. The user can scroll back up to the previous page

Here is my site Read-Only Webflow - Portfolio

Im VERY new to webflow, please excuse the messy code :slight_smile:


You can use query params to make sure the user stays on the same page while having the option to move backward or forward.



URL Breakdown:
Website domain: https://your_domain.com
Query params start: ?
Parameter: page
Parameter value: 1

Multiple parameters:


Separated by &

Hopefully, this solves your problem.