刷新按钮-移动端测试
2015-09-10 10:08
316 查看
<script>
$(function(){
$('body').append('<a id="refresh" style="position: fixed;z-index:2000; font-size: 14px; top: 50%; right: 0; width: 60px; line-height: 60px; height: 60px;opacity: .7; background: coral; text-align: center; border-radius: 50%; color: #fff; ">刷新</a>'); $('#refresh').on('click',function() {window.location.reload(true); });
});
</script>
$(function(){
$('body').append('<a id="refresh" style="position: fixed;z-index:2000; font-size: 14px; top: 50%; right: 0; width: 60px; line-height: 60px; height: 60px;opacity: .7; background: coral; text-align: center; border-radius: 50%; color: #fff; ">刷新</a>'); $('#refresh').on('click',function() {window.location.reload(true); });
});
</script>
相关文章推荐
- Android各类交互良好动画集锦(持续更新)
- Android软键盘回车改为搜索
- android listview嵌套Listview不能显示全部内容
- android开发常用函数集合
- IOS Remote Notification
- swappiness
- Android APK+Dex文件反编译及回编译工具(APKDB)v.1.9.2 正式版
- 【Android】监测root权限:通过判断su文件确定
- Cocos Code ide 新建的项目无法运行,如何解决
- Intent flag参数和Android的四种lauchMode
- 对Android的理解
- Android控件之ListView用法实例详解
- 兔子--在Android系统中,启动Service的2种方式以及区别
- android 学习路线
- Android开发文档之四种点击事件
- cocos2d-js中监听帧事件时不要忘了this
- JS判断客户端是否是iOS或者Android
- Android上的内部存储(文件)实现
- android 设置头像以及裁剪功能
- iOS开发中的ViewController转场切换效果实现简介