jQuery回到顶部插件jQuery GoUp

it2025-06-26  6

插件描写叙述

jQuery GoUp!是一个简单的jQuery插件,让你的网页用户直接回到顶部。

用法很easy

引用jquery库和jquery.goup.min.js到你的页面

<script type="text/javascript" src="jquery.min.js"></script> <script type="text/javascript" src="jquery.goup.min.js"></script> 在调用下插件就OK了

<script type="text/javascript"> $(document).ready(function () { $.goup({ trigger: 100, bottomOffset: 20, //距底部偏移量 locationOffset: 30, //距右部偏移量 title: '返回顶部', titleAsText: true //是否显示title }); }); </script> 效果如图:

jQuery GoUp下载地址:http://download.csdn.net/detail/itmyhome/7714581

作者:itmyhome

转载于:https://www.cnblogs.com/bhlsheji/p/5092999.html

相关资源:jquery回到顶部插件GoUP.zip
最新回复(0)