回到顶部
来源:互联网 发布:淘宝能更改实名认证吗 编辑:程序博客网 时间:2024/04/28 03:05
<a href="javascript:void(0)" style="margin-top:10000px; display:inline-block;">回到顶部</a>
<script type="text/javascript">
$("a").click(function(){
$("body,html").animate({scrollTop:0},300);
})
</script>
这里写成$("body,html")是为了兼容火狐和ie
- 回到顶部
- 回到顶部
- 回到顶部
- 回到顶部
- “回到顶部”
- 回到顶部
- 回到顶部
- 回到顶部
- 回到顶部
- 回到顶部
- 回到顶部
- 回到顶部
- 回到顶部
- 回到顶部
- 回到顶部
- 回到顶部
- 回到顶部
- 回到顶部
- 拆分字符串
- Android中12小时制与24小时制问题~
- html+css总结
- Qt读取JSON和XML数据
- vsftpd搭建图文详解
- 回到顶部
- 红黑树
- 小程序 (五) 字符串分离
- AVD内存改大后无法启动的 问题
- [leetcode]Symmetric Tree
- web编程2--用户注册之日期控件,验证码
- *** non-numeric second argument to `wordlist' function: ''. Stop错误解决办法
- jetty环境搭建备忘
- Jqgrid入门-Jqgrid设置二级表头(六)