摘要: 在电脑上只需加入input{ outline:none}input:focus{ outline:none}而在手机浏览器上是没有效果的手机浏览器需要设置input{ -webkit-tap-highlight-color:rgba(0,0,0,0);}input:focus{ ... 阅读全文
posted @ 2015-02-10 10:36 fenglie 阅读(839) 评论(0) 推荐(0) 编辑
摘要: String字符串需要进行首字母大小写改写,查询google,就是将首字母截取,转化大小写 + 首字母后面字符串 //首字母小写 public static String captureName(String name) { name = name.substring(0, 1... 阅读全文
posted @ 2015-01-14 10:25 fenglie 阅读(7951) 评论(2) 推荐(1) 编辑
摘要: :app:dexDebugError: Could not create the Java Virtual Machine.Error: A fatal exception has occurred. Program will exit. FAILEDFAILURE: Build failed wi... 阅读全文
posted @ 2015-01-07 16:02 fenglie 阅读(9957) 评论(0) 推荐(0) 编辑
摘要: 用到parseInt() 函数parseInt() 函数可解析一个字符串,并返回一个整数提示和注释注释:只有字符串中的第一个数字会被返回。注释:开头和结尾的空格是允许的。提示:如果字符串的第一个字符不能被转换为数字,那么 parseFloat() 会返回 NaN。w3c:http://www.w3s... 阅读全文
posted @ 2014-12-30 15:39 fenglie 阅读(2252) 评论(0) 推荐(0) 编辑
摘要: w3c:http://www.w3school.com.cn/cssref/pr_border-radius.asp定义和用法border-radius 属性是一个简写属性,用于设置四个 border-*-radius 属性。提示:该属性允许您为元素添加圆角边框!属性border-radius:50... 阅读全文
posted @ 2014-12-29 09:48 fenglie 阅读(621) 评论(0) 推荐(0) 编辑
摘要: 经测试只有在IE chrome才会在获取焦点时有边框使用CSSdiv{ outline:none;}DIV焦点事件详解 --【focus和tabIndex】​摘自:http://my.oschina.net/jgy/blog/131970添加 tabindex='-1' 属性;默认:获取不到焦... 阅读全文
posted @ 2014-12-26 11:14 fenglie 阅读(4045) 评论(0) 推荐(0) 编辑
摘要: div+css设置列表div超出部分显示...(单行文本)width:200px; //指定宽度:overflow:hidden; //将超出内容隐藏text-overflow:ellipsis; //文本溢出时显示省略标记。white-space:nowrap; //强制内容不换行。强制在同一行内... 阅读全文
posted @ 2014-12-26 10:52 fenglie 阅读(677) 评论(0) 推荐(0) 编辑
摘要: 在客户端存储数据HTML5 提供了两种在客户端存储数据的新方法:localStorage - 没有时间限制的数据存储sessionStorage - 针对一个 session 的数据存储之前,这些都是由 cookie 完成的。但是 cookie 不适合大量数据的存储,因为它们由每个对服务器的请求来传... 阅读全文
posted @ 2014-12-23 11:20 fenglie 阅读(188) 评论(0) 推荐(0) 编辑
摘要: 在做弹出层时需要对div获取失去焦点focus blur只是针对form表单控件的,而对于 span , div , li 之类的,则没办法触发它们的动作几个事件(摘自w3c)。blur事件: 当元素失去焦点时发生 blur 事件。focus事件:focus() 方法用于赋予文本域焦点(也值让某些元... 阅读全文
posted @ 2014-12-15 15:05 fenglie 阅读(5679) 评论(0) 推荐(0) 编辑
摘要: 位置:Edit-Find-Find in Path把KeyMap改成Eclipse的就可以用Ctrl+H查找了。 阅读全文
posted @ 2014-11-26 10:51 fenglie 阅读(4083) 评论(0) 推荐(0) 编辑
摘要: Password type input with autocomplete enabledThe autocomplete attribute works with the following types: text, search, url, tel, email, password, date... 阅读全文
posted @ 2014-11-26 10:01 fenglie 阅读(480) 评论(0) 推荐(0) 编辑
摘要: google可访问IP203.116.165.138 阅读全文
posted @ 2014-11-21 09:42 fenglie 阅读(69) 评论(0) 推荐(0) 编辑
摘要: //【Setting】 --> 【Inspections】 --> 【Serialization issues】 --> 【Serializable class without ’serialVersionUID’ 】选上以后,在你的java代码中:按Alt+Enter就会提示自动创建serialV... 阅读全文
posted @ 2014-11-12 09:56 fenglie 阅读(364) 评论(0) 推荐(0) 编辑
摘要: 生日(DATE)计算方法1:YEAR(CURDATE())-YEAR(birthday)-(RIGHT(CURDATE(),5)<RIGHT(birthday,5))计算方法2:year( from_days( datediff( now( ), birthdate))) now() 当前时间,精确... 阅读全文
posted @ 2014-09-22 10:27 fenglie 阅读(13539) 评论(1) 推荐(1) 编辑
摘要: mysql默认是不能自定义函数的当create function时This function has none of DETERMINISTIC, NO SQL, or READS SQL DATA in its declaration and binarysolution 1:exec:SET G... 阅读全文
posted @ 2014-09-18 10:24 fenglie 阅读(639) 评论(0) 推荐(0) 编辑
版权所有,转载声明