Example-1: Scroll without animation.
Example-2: Scroll with animation.
- How to call a function automatically after waiting for some time using jQuery?
- jQuery | scroll() with Examples
- How to scroll window using jQuery ?
- How to create footer to stay at the bottom of a Web page?
- How to determine the direction of a jQuery scroll event?
- How to refresh a page using jQuery?
- How to jump to top of browser page using jQuery?
- How to get the size of screen, current web page and browser window using jQuery?
- JQuery | Set focus on a form input text field on page load
- Hide scroll bar, but while still being able to scroll using CSS
- How to display search result of another page on same page using ajax in JSP?
- CSS | scroll-behavior Property
If you like GeeksforGeeks and would like to contribute, you can also write an article using contribute.geeksforgeeks.org or mail your article to firstname.lastname@example.org. See your article appearing on the GeeksforGeeks main page and help other Geeks.
Please Improve this article if you find anything incorrect by clicking on the "Improve Article" button below.