会员
周边
众包
新闻
博问
闪存
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
Sun_Song
博客园
首页
新随笔
联系
管理
上一页
1
2
3
4
5
6
7
下一页
2017年7月19日
css箭头图片方向转换
摘要: 右箭头转为下箭头 { transform: rotate(90deg); } 右箭头转为上箭头 { transform: rotate(-90deg); } 右箭头转为左箭头 { transform: rotate(180deg); }
阅读全文
posted @ 2017-07-19 11:27 Sun_Song
阅读(2427)
评论(0)
推荐(0)
2017年7月14日
jq表格全反选实例
摘要: <!DOCTYPE html> <html> <head> <meta charset="UTF-8"> <title></title> <style type="text/css"> .backcolor{ background: #8A2BE2; } </style> <script src="
阅读全文
posted @ 2017-07-14 18:11 Sun_Song
阅读(428)
评论(0)
推荐(0)
jq contains实例
摘要: <!DOCTYPE html> <html> <head> <meta charset="UTF-8"> <title></title> <script src="js/jquery-1.4.1.js" type="text/javascript" charset="utf-8"></script>
阅读全文
posted @ 2017-07-14 18:09 Sun_Song
阅读(398)
评论(0)
推荐(0)
click事件在ios上失效
摘要: 给要点击的元素添加样式 { cursor: pointer; }
阅读全文
posted @ 2017-07-14 13:13 Sun_Song
阅读(207)
评论(0)
推荐(0)
2017年7月13日
table设置tr的border无效
摘要: 给它外层table设置属性{ border-collapse:collapse; }
阅读全文
posted @ 2017-07-13 10:40 Sun_Song
阅读(1176)
评论(0)
推荐(0)
2017年7月8日
获取url值
摘要: function getQueryString(name) { var reg = new RegExp('(^|&)' + name + '=([^&]*)(&|$)', 'i'); var r = window.location.search.substr(1).match(reg); if(r
阅读全文
posted @ 2017-07-08 13:21 Sun_Song
阅读(115)
评论(0)
推荐(0)
判断是否是手机浏览器
摘要: function isMobile() { if(/android/i.test(navigator.userAgent)) { //document.write("This is Android'browser.");//这是Android平台下浏览器 return true; } if(/(iP
阅读全文
posted @ 2017-07-08 13:20 Sun_Song
阅读(186)
评论(0)
推荐(0)
php时间戳转时间方法
摘要: function comptime(beginTime) { var nowtime = (new Date).getTime(); endTime = nowtime; var secondNum = parseInt((endTime - beginTime * 1000) / 1000); /
阅读全文
posted @ 2017-07-08 13:19 Sun_Song
阅读(482)
评论(0)
推荐(0)
微信动态设置title
摘要: document.setTitle = function(t) { document.title = t; var i = document.createElement('iframe'); i.src = '//m.baidu.com/favicon.ico'; i.style.display =
阅读全文
posted @ 2017-07-08 13:19 Sun_Song
阅读(266)
评论(0)
推荐(0)
2017年7月1日
vue绑定数据加载出现脚本的解决办法
摘要: <div id="main"v-cloak> //加个v-cloak {{name}} </div> [v-cloak]{display: none;} //设置隐藏
阅读全文
posted @ 2017-07-01 14:10 Sun_Song
阅读(578)
评论(0)
推荐(0)
上一页
1
2
3
4
5
6
7
下一页
公告