fromTop.js:一个简单的jquery函数,当被选元素滚动到页面时运行一个函数

时间:2021-06-07 18:05:28
【文件属性】:
文件名称:fromTop.js:一个简单的jquery函数,当被选元素滚动到页面时运行一个函数
文件大小:3KB
文件格式:ZIP
更新时间:2021-06-07 18:05:28
JavaScript fromTop().js 一个简单的 jquery 函数,用于在所选元素滚动到页面时运行一个函数。 像这样使用函数及其配置: $ ( window ) . scroll ( function ( ) { $ ( 'main' ) . fromTop ( { start : 100 , //Sets the height from the windows top where the inside function is called end : - 300 , //Sets the end height for viewport range from TOP of element. The log method is helpful in finding the wanted number. Usually a negative value. log : true , //
【文件预览】:
fromTop.js-master
----LICENSE(1KB)
----fromTop.1.1.js(2KB)
----README.md(1KB)
----fromTop.minified.1.1.js(1KB)

网友评论