Quote from
asmat on June 11, 2024, 8:49 pm
Hi everyone,
I'm working on a responsive web application and I need some help. Whenever I navigate from one page to another, I want the scroll position to reset to the top of the page. Currently, when I switch pages, the scroll position remains where it was on the previous page, which is not the behavior I want.
Could someone please guide me on how to achieve this? Are there any specific JavaScript or CSS techniques I should use?
Thanks in advance!
Hi everyone,
I'm working on a responsive web application and I need some help. Whenever I navigate from one page to another, I want the scroll position to reset to the top of the page. Currently, when I switch pages, the scroll position remains where it was on the previous page, which is not the behavior I want.
Could someone please guide me on how to achieve this? Are there any specific JavaScript or CSS techniques I should use?
Thanks in advance!
Uploaded files:- You need to login to have access to uploads.