fullpage.js——回调函数
来源:互联网 发布:js将图片上传到服务器 编辑:程序博客网 时间:2024/05/28 06:08
//动画回调函数 **afterLoad:**function(link,index){ //到达页面的函数 if(index==1){ //判断到达的页面,index对应section $(".onec").find("h1").fadeIn(1000); //.onec是自己取的类名 } if(index==2){ $(".twoc").find("h1").animate({bottom:"100px"},1000) } },**onLeave:**function(index,direction){ //页面离开的函数 if(index==1){ $(".onec").find("h1").fadeOut(1000); } if(index==2){ $(".twoc").find("h1").animate({bottom:"-100vh"},1000) } } })
阅读全文
0 0
- fullpage.js——回调函数
- fullPage.js — 回调函数演示和animate.css使用-------全屏滚动加载动画
- JS笔记 —— 回调函数
- js回调函数
- js回调函数
- JS回调函数
- js回调函数
- js回调函数
- js回调函数
- js回调函数
- js-回调函数
- JS回调函数
- js回调函数
- js 回调函数
- js回调函数
- JS回调函数
- js回调函数
- js回调函数
- Inverted Index
- 使用localResizeIMG插件上传图片到七牛云返回链接通过PHP进行保存
- XSS测试代码大全
- 十月十日学习心得
- LeetCode 83. Remove Duplicates from Sorted List
- fullpage.js——回调函数
- 真正的离开都是悄然无息的
- unity3d中获得物体的size
- VMware硬件兼容性查询链接
- LeetCode 82. Remove Duplicates from Sorted List II
- Android Camera 系统架构源码分析(3)---->Camera的显示流程
- Apache 与 Nginx 比较
- 静态库与动态库
- LeetCode-714:Best Time to Buy and Sell Stock with Transaction Fee (带有抛售费用的股票最大利润) -- medium