ScrollUp 介绍
ScrollUp 是一个轻量级的 jQuery 插件,轻松实现了滚动页面的 “返回顶部” 的功能。
在线演示:http://markgoodyear.com/labs/scrollup/
示例代码:
$(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' }); });
ScrollUp 官网
http://markgoodyear.com/2013/01/scrollup-jquery-plugin/
版权声明:本文内容由互联网用户自发贡献,该文观点与技术仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请发送邮件至 [email protected] 举报,一经查实,本站将立刻删除。