 
						Scrollup是一款jQuery的“回到页面顶端”的插件,能够帮助你快速的实现一个完全自定义的“back to top"的功能。
主要参数:
| 1 2 3 4 5 6 7 8 9 | scrollName: 'scrollUp', // Element IDtopDistance: '300', // Distance from topbefore showing element (px) topSpeed: 300, // Speed back to top(ms) animation: 'fade', // Fade, slide, noneanimationInSpeed: 200, // Animation in speed (ms) animationOutSpeed: 200, // Animation out speed (ms) scrollText: 'Scroll to top', // Text for element activeOverlay: false, // 这个属性对于开发者来说可能比较有用,帮助你定位“回到顶端”按钮出现时滚动到的页面位置。 | 
使用代码
| 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 | $(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'    });}); | 
特别申明:
			本站所有资源都是由网友投稿发布,或转载各大下载站,请自行检测软件的完整性!
			本站所有资源仅供学习与参考,请勿用于商业用途,否则产生的一切后果将由您自己承担!
			如有侵权请联系我们删除下架,联系方式:lei1294551502@163.com