gotop-ycr
v1.0.0
Published
一个回到顶��部的按钮
Downloads
7
Readme
#一个回到顶部的按钮插件 会生成一个按钮用来返回顶部 样式请自行设定
###使用方法 1.引用js文件
<script src="./js/libs/jquery.js"></script>
<script src="./js/goTop.js"></script>
2.new一个对象并传入参数作为想要插入的位置
var scroll=new goTop($('.footer'))