jQuery+aos.js page scroll element animation library
code segment:
hljs.initHighlightingOnLoad();
$('.hero__scroll').on('click', function(e) {
$('html, body').animate({
scrollTop: $(window).height()
}, 1200);
});
All resources on this site are contributed by netizens or reprinted by major download sites. Please check the integrity of the software yourself! All resources on this site are for learning reference only. Please do not use them for commercial purposes. Otherwise, you will be responsible for all consequences! If there is any infringement, please contact us to delete it. Contact information: admin@php.cn
Related Article
![How to Smoothly Scroll to a Specific Element Using jQuery Animation on Button Click?](https://img.php.cn/upload/article/001/246/273/173030907079099.jpg)
31 Oct 2024
Animate Scroll to Specific Element on Button ClickTo jump or scroll to a specific position, div, or target on a page when a button is clicked, you...
![How Can I Smoothly Scroll to the Last Element of a Page Using jQuery?](https://img.php.cn/upload/article/001/246/273/173492596773707.jpg)
23 Dec 2024
Smooth Scroll to an Element with jQueryIntroductionScrolling to specific elements on a webpage can enhance user experience and draw attention to...
![How Can I Use jQuery to Smoothly Scroll to an Element on a Long Web Page?](https://img.php.cn/upload/article/001/246/273/173586190431779.jpg)
03 Jan 2025
Scroll to an Element with jQueryWhen dealing with lengthy web pages, it's crucial to enable users to smoothly navigate to specific sections...
![How Can I Use jQuery to Smoothly Scroll to the Last Element on a Page After Clicking a Specific Input?](https://img.php.cn/upload/article/001/246/273/173536567158268.jpg)
28 Dec 2024
Scrolling to an Element with jQueryIn the context of a web page with various elements, such as input fields, 's, and...
24 Jun 2016
CSS3 JQUERY page scrolling effects code
24 Jun 2016
58 jQuery simulated CSS3 transition page switching effects
![jquery waterfall flow LightBox picture box special effects](http://static.oschina.net/uploads/code/201607/05154721_nehQ.gif)
06 Jul 2016
jquery waterfall flow LightBox picture box special effects
![How to Maintain jQuery Mouseover Effects in ASP.NET UpdatePanels?](https://img.php.cn/upload/article/001/246/273/173318683092401.jpg)
03 Dec 2024
jQuery $(document).ready and UpdatePanels: A Refined LookWhen utilizing jQuery to apply mouseover effects to elements within an UpdatePanel, the...
![How Can I Dynamically Modify Text on Mouseover using jQuery?](https://img.php.cn/upload/article/001/246/273/173145498458794.jpg)
13 Nov 2024
jQuery: Dynamically Modifying Text with Mouseover EventsWhen interacting with elements on a web page, adding subtle effects can enhance user...
![See all articles](/static/imghw/down_right.png)
![](/static/imghw/taglogo.png)
Hot Tools
![jQuery2019 Valentine's Day Confession Fireworks Animation Special Effects](https://img.php.cn/upload/jscode/000/000/001/5c64d3e6d92b2641.jpg)
jQuery2019 Valentine's Day Confession Fireworks Animation Special Effects
A very popular jQuery Valentine's Day confession fireworks animation special effect on Douyin, suitable for programmers and technical geeks to express their love to the girl they love. No matter you choose to be willing or not, you have to agree in the end.
![layui responsive animated login interface template](https://img.php.cn/upload/jscode/000/000/001/5a93a913de3a7571.png)
layui responsive animated login interface template
layui responsive animated login interface template
![520 Valentine's Day confession web animation special effects](https://img.php.cn/upload/jscode/000/287/557/620611f90d724550.jpg)
520 Valentine's Day confession web animation special effects
jQuery Valentine's Day Confession Animation, 520 Confession Background Animation
![Cool system login page](https://img.php.cn/upload/jscode/000/120/096/5e09903f2f0c4401.jpg)
Cool system login page
Cool system login page
![HTML5 tape music player-CASSETTE PLAYER](https://img.php.cn/upload/jscode/000/120/096/5e200ad65973d549.jpg)
HTML5 tape music player-CASSETTE PLAYER
HTML5 tape music player-CASSETTE PLAYER
![](/static/imghw/taglogo.png)