scrollify.js 鼠标滚动
2024-09-13 05:31:44
在线实例
使用方法
- <! doctype html>
- <html>
- <head>
- <script>
- $(function() {
- $.scrollify({
- section : "section",
- });
- });
- </script>
- </head>
- <body>
- <section></section>
- <section></section>
- </body>
- </html
复制
- $.scrollify({
- section : "section",
- sectionName : "section-name",
- easing: "easeOutExpo",
- scrollSpeed: 1100,
- offset : 0,
- scrollbars: true,
- before:function() {},
- after:function() {}
- });
复制
- $.scrollify("move","#name");
复制
参数详解
- section
- 节点部分选择器.
- sectionName
- 每一个section节点对应的data属性.
- easing
- 定义缓冲动画.
- offset
- 定义每个色彩tion节点的偏移量.
- scrollbars
- 是否显示滚动条.
- before
- 回调函数,滚动开始前触发.
- after
- 回调函数,滚动完成后触发.
最新文章
- [网络安全] [视频分享]KaLi Linux基础培训2016 最新的哦【福吧资源网】
- hwclock 显示或设置CMOS时间
- poj 1511(spfa)
- Leetcode 9 Palindrome Number 数论
- Mysql_mysql 性能分析及explain用法
- 六、Struts2的配置文件
- AT-PagerAdapter
- 完整的开发一个ContentProvider步骤
- 解决的方法:warning: Clock skew detected. Your build may be incomplete.
- poj 2263&;&; zoj1952 floyd
- Android常用Permission
- Python dir()/help()
- tag上、push上和pull 取Docker 映像
- python之集合
- vm虚拟机中linux无法连接外网?
- docker --环境变量制作模板
- BottomNavigationView 使用
- Vue路由获取路由参数
- Microsoft Dynamics CRM service 创建,更新等操作时,注意写抛出异常时,抛出SoapException异常
- [LeetCode] Next Permutation(一种巧妙的解题方法)
热门文章
- 项目中是用eCharts
- BOM之window对象
- Java多线程系列--“JUC原子类”05之 AtomicLongFieldUpdater原子类
- [linux] is not in the sudoers file
- Windows Azure Cloud Service (12) PaaS之Web Role, Worker Role, Azure Storage Queue(下)
- 意译:《JVM Internals》
- 脚本引用中的defer和async的用法和区别
- C#--参数数组
- DirectShowNet 使用摄像头录像+录音
- Oracle 数据泵导入导出