ScrollUp- 滚动到页面顶部
JavaScript 其他jQuery插件
共0Star
详细介绍
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'
});
});
-
19 Star
-
26 Star
-
0 Star
-
0 Star
-
3 Star
-
0 Star
-
0 Star