Load next page on scroll

Hello,

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:

Thanks!

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

Example:

https://your_domain.com?page=1

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

Multiple parameters:

https://your_domain.com?page=1&pageName=about

Separated by &

Hopefully, this solves your problem.