回到顶端插件(返回顶部) - ScrollUp

所属分类:其他-移动

 54514  321  查看评论 (8)
分享到微信朋友圈
X
回到顶端插件(返回顶部) - ScrollUp ie兼容6

Scrollup是一款jQuery的“回到页面顶端”的插件,能够帮助你快速的实现一个完全自定义的“back to top"的功能。

使用步骤

主要参数:

scrollName: 'scrollUp', // Element ID
topDistance: '300', // Distance from top before showing element (px) 
topSpeed: 300, // Speed back to top (ms) 
animation: 'fade', // Fade, slide, none 
animationInSpeed: 200, // Animation in speed (ms) 
animationOutSpeed: 200, // Animation out speed (ms) 
scrollText: 'Scroll to top', // Text for element 
activeOverlay: false, 
// 这个属性对于开发者来说可能比较有用,帮助你定位“回到顶端”按钮出现时滚动到的页面位置。

使用代码

$(function () {
    $.scrollUp({
        scrollName: 'scrollUp', 
        // Element ID
        topDistance: '300', 
        // Distance from top before showing element (px)
        topSpeed: 300, 
        // Speed back to top (ms)
        animation: 'fade', 
        // Fade, slide, none
        animationInSpeed: 200, 
        // Animation in speed (ms)
        animationOutSpeed: 200, 
        // Animation out speed (ms)
        scrollText: 'Scroll to top', 
        // Text for element
        activeOverlay: false, 
        // Set CSS color to display scrollUp active point, e.g '#00FFFF'
    });
});
相关插件-移动

手机端多点触控图片旋转放大缩小移动

支持手机端的图片多点触控处理(放大,缩小,旋转)
  移动
 52696  326

滚动顶部插件

滚动顶部插件,二维码,客服电话,移上去浮动显示
  移动
 53550  542

讨论这个项目(8)回答他人问题或分享插件使用方法奖励jQ币 评论用户自律公约

    小逛小逛 0
    2015/1/21 14:52:35
    IE6下测试,位置没能实现相对浏览器底部固定的功能 回复
    柳飞花落 0
    2014/12/8 9:25:56
    用jquery三行代码就能实现的还要插件。。。。 回复
    不可不戒 0
    2014/4/5 13:55:00

    IE8已经测试,可用。IE6早已抛弃没有测试。

    回复
    hacker 0
    2013/12/18 9:22:00
    网站很好,有待更多的插件,望网站越办越好! 回复
    大圣 0
    2013/11/27 13:16:00
    很好的网站,简洁漂亮,插件丰富 回复
    时光小屋 0
    2013/9/30 14:57:00
    大圣 0
    2013/9/27 23:41:00
    大圣 0
    2013/9/24 12:57:00
    感谢管理员无偿分享祝网站越做越好 回复
😃
  • 😀
  • 😉
  • 😥
  • 😵
  • 😫
  • 😘
  • 😡
  • 👍
  • 🌹
  • 👏
  • 🍺
  • 🍉
  • 🌙
  • 💖
  • 💔
😃
  • 😀
  • 😉
  • 😥
  • 😵
  • 😫
  • 😘
  • 😡
  • 👍
  • 🌹
  • 👏
  • 🍺
  • 🍉
  • 🌙
  • 💖
  • 💔
取消回复