2017年3月10日
摘要: <script language="javascript"> window.onload = function () { var n = navigator.userAgent; if (n.indexOf('Android') > -1 || n.indexOf('Linux') > -1) { 阅读全文
posted @ 2017-03-10 11:23 甲壳虫的博客 阅读(1423) 评论(0) 推荐(0) 编辑
  2016年6月14日
摘要: <meta name="format-detection" content="telephone=no"> <meta http-equiv="x-rim-auto-match" content="none"> 阅读全文
posted @ 2016-06-14 17:57 甲壳虫的博客 阅读(127) 评论(0) 推荐(0) 编辑
  2015年7月29日
摘要: email: /^\w+([-+.']\w+)*@\w+([-.]\w+)*\.\w+([-.]\w+)*$/, //邮箱 password: /^[\w]{6,20}$/,//密码 ch: /^[\u4e00-\u9fa5]+$/,//中文 en: /^[a-zA-Z]+$/,//英文... 阅读全文
posted @ 2015-07-29 14:39 甲壳虫的博客 阅读(116) 评论(0) 推荐(1) 编辑
  2015年7月3日
摘要: 先定义两变量 移上去的定时器 和 移开的定时器var overTimer, outTime; $('.box').hover(function(){ overTimer?clearTimeout(overTimer):''; outT... 阅读全文
posted @ 2015-07-03 17:22 甲壳虫的博客 阅读(121) 评论(0) 推荐(0) 编辑
摘要: div模拟table 1 2 3 1 2 3 阅读全文
posted @ 2015-07-03 16:00 甲壳虫的博客 阅读(438) 评论(0) 推荐(0) 编辑
摘要: -webkit-font-smoothing: antialiased; 阅读全文
posted @ 2015-07-03 15:29 甲壳虫的博客 阅读(230) 评论(0) 推荐(0) 编辑
  2015年6月23日
摘要: Chrome:-webkit-Safari:-webkit-Firefox:-moz-IE:-ms-Opera:-o-渐变特例:Firefox:-moz-linear-gradientSafari:-webkit-gradient 阅读全文
posted @ 2015-06-23 17:13 甲壳虫的博客 阅读(102) 评论(0) 推荐(0) 编辑
  2015年6月18日
摘要: $.ajax({ //以下属性值均为可选 type: "POST", //默认值: "GET")。请求方式 ("POST" 或 "GET"), 默认为 "GET"。注意:其它 HTTP 请求方法,如 PUT 和 DELETE 也可以使用,但仅部分浏览器支持。 url: "some.php", ... 阅读全文
posted @ 2015-06-18 17:49 甲壳虫的博客 阅读(103) 评论(0) 推荐(0) 编辑
  2015年3月31日
摘要: visibility:hidden----将元素隐藏,但是在网页中该占的位置还是占着。display:none----将元素的显示设为无,即在网页中不占任何的位置。 阅读全文
posted @ 2015-03-31 15:42 甲壳虫的博客 阅读(112) 评论(0) 推荐(0) 编辑
摘要: 可以这样写 阅读全文
posted @ 2015-03-31 13:52 甲壳虫的博客 阅读(325) 评论(0) 推荐(0) 编辑