文件名称:viewedByScroll.js:侦听滚动事件并返回视口中的元素
文件大小:2KB
文件格式:ZIP
更新时间:2024-06-02 05:18:44
JavaScript
seenByScroll.js 侦听滚动事件并返回滚动查看的元素。 要求 jQuery 1.7 or later 安装 步骤1:链接所需的文件 jQuery library need to be included.Next,include viewedByScroll.js < script src =" //ajax.googleapis.com/ajax/libs/jquery/1.7.1/jquery.min.js " > </ script > < script src =" viewedByScroll.js " > </ script > 步骤2:呼叫viewedByScroll $ ( document ) . ready ( function ( ) { //select element(s) to check by the scrolling event $ (
【文件预览】:
viewedByScroll.js-master
----README.md(995B)
----viewedByScroll.js(870B)
----LICENSE(1KB)