I am working on a single-paged website built with Jquery and HTML. The main content is housed within a div called #site-content, which has a width of 4400px. Each "page" is positioned within this div, with the first page starting at left: 0px, the second at left: -1100px, the third at left: -2200px, and the fourth at left: -3300px. However, after reaching the third page, the positioning resets back to the beginning.
<div id="site-content" style="left: -2200px;">
Is there a way to ensure that the positioning does not reset back to 0px after a page refresh? I want it to start again at left: -2200px.
If possible, could someone provide a code example to achieve this? Any help is greatly appreciated.
Thank you in advance.