当前位置:网站首页>点击按钮,下滑到指定的位置
点击按钮,下滑到指定的位置
2022-07-29 01:16:00 【kilito_01】
$(“html,body”).animate({
scrollTop: $(“.bg-1”).offset().top
}, 800);
就是获取指定元素距离顶部的距离 然后用scrollTop缓动滑到元素的位置
边栏推荐
- [the road of Exile - Chapter 6]
- More interesting Title Dynamic Effect
- Code reading - ten C open source projects
- [golang] use select {}
- 【7.21-26】代码源 - 【好序列】【社交圈】【namonamo】
- Mathematical modeling - location of police stations
- [7.27] code source - [deletion], [bracket sequence], [number replacement], [game], [painting]
- Solution of Lenovo notebook camera unable to open
- What is browser fingerprint recognition
- E-commerce keyword research helps data collection
猜你喜欢

Overview of Qualcomm 5g intelligent platform
![[the road of Exile - Chapter III]](/img/f8/3d1dfabaacf030450c1576fe543cfa.png)
[the road of Exile - Chapter III]

Lm13 morphological quantification momentum period analysis

Leetcode exercise - Sword finger offer 45. arrange the array into the smallest number

LeetCode 112:路径总和

The basic concept of transaction and the implementation principle of MySQL transaction

Force deduction brush question (2): sum of three numbers

Network security litigation risk: four issues that chief information security officers are most concerned about

【流放之路-第三章】

Js DOM2 和 DOM3
随机推荐
Talk about possible problems when using transactions (@transactional)
分布式开发漫谈
(arxiv-2018) reexamine the time modeling of person Reid based on video
MySQL high performance optimization notes (including 578 pages of notes PDF document), collected
Golang startup error [resolved]
What are the common cyber threats faced by manufacturers and how do they protect themselves
数学建模——永冻土层上关于路基热传导问题
Comprehensive analysis of news capture doorway
动态内存与智能指针
Wonderful use of data analysis
[7.21-26] code source - [sports festival] [Dan fishing war] [maximum weight division]
Why does stonedb dare to call it the only open source MySQL native HTAP database in the industry?
Semiconductor chip industry chain
StoneDB 邀请您参与开源社区月会!
The number of consecutive subarrays whose leetcode/ product is less than k
(CVPR-2019)选择性的内核网络
[WesternCTF2018]shrine
Comprehensive explanation of "search engine crawl"
[7.21-26] code source - [square count] [dictionary order minimum] [Z-type matrix]
Mathematical modeling - location of police stations