关于 js 的 onscroll 事件

人口普查时间2022-10-03  8

js的Onscroll事件js的onscroll事件介绍:我需要在滚动条距离顶部超过200 px的时候启动一个事件。 window.onscroll = function () { if(document . body . scroll top gt;=200)
转载请注明原文地址:https://juke.outofmemory.cn/read/1894710.html

最新回复(0)