摘要: 1、$("#nav").css("display") == "none";2、$("#nav").style.display == "none";3、$("#nav").is(":hidden") $("#nav").is(":visible") 阅读全文
posted @ 2015-08-28 11:14 在阳光下飞翔 阅读(207) 评论(0) 推荐(0) 编辑
摘要: 1. strstr 和 stristr的用法123456strstr: 返回一个从被判断字符开始到结束的字符串,如果没有返回值,则不包含. stristr: 它和strstr的使用方法完全一样.唯一的区别是stristr不区分大小写.$email = ‘ user@example.com’;$dom... 阅读全文
posted @ 2015-07-15 09:41 在阳光下飞翔 阅读(1205) 评论(0) 推荐(0) 编辑
摘要: 一,$.get(url,[data],[callback])说明:url为请求地址,data为请求数据的列表(是可选的,也可以将要传的参数写在url里面),callback为请求成功后的回调函数,该函数接受两个参数,第一个为服务器返回的数据,第二个参数为服务器的状态,是可选参数。而其中,服务器返回数... 阅读全文
posted @ 2015-06-18 10:22 在阳光下飞翔 阅读(158) 评论(0) 推荐(0) 编辑
摘要: WebStorm 6.0 7.0 注册码User Name: EMBRACELicense Key:===== LICENSE BEGIN =====24718-1204201000001h6wzKLpfo3gmjJ8xoTPw5mQvYYA8vwka9tH!vibaUKS4FIDIkUfy!!f3... 阅读全文
posted @ 2015-05-12 10:46 在阳光下飞翔 阅读(162) 评论(0) 推荐(0) 编辑
摘要: 原帖地址:http://jingyan.baidu.com/article/a378c96098c048b32828300b.html?qq-pf-to=pcqq.c2cHTML5规范里增加了一个自定义data属性.这个自定义data属性的用法非常的简单, 就是你可以往HTML标签上添加任意以"da... 阅读全文
posted @ 2015-05-07 16:13 在阳光下飞翔 阅读(182) 评论(0) 推荐(0) 编辑
摘要: unset($arr[key]); //索引值删除 array_splice($arr,$key,1); //索引值递补 阅读全文
posted @ 2015-05-06 10:43 在阳光下飞翔 阅读(103) 评论(0) 推荐(0) 编辑
摘要: 阅读全文
posted @ 2015-04-30 13:47 在阳光下飞翔 阅读(124) 评论(0) 推荐(0) 编辑
摘要: 一、手机上的触摸事件基本事件:touchstart //手指刚接触屏幕时触发touchmove //手指在屏幕上移动时触发touchend //手指从屏幕上移开时触发下面这个比较少用:touchcancel //触摸过程被系统取消时触发每个事件都有以下列表,比如touchend的target... 阅读全文
posted @ 2015-04-30 09:52 在阳光下飞翔 阅读(157) 评论(0) 推荐(0) 编辑
摘要: http://jingyan.baidu.com/article/9158e0004499b6a2541228ad.html?qq-pf-to=pcqq.group 阅读全文
posted @ 2015-04-17 09:53 在阳光下飞翔 阅读(136) 评论(0) 推荐(0) 编辑
摘要: //容错处理if (is_string($result) || $result === false) { return $result; } //单条数据处理if (isset($result['HouseInfoList']['projName'])) { ... 阅读全文
posted @ 2015-04-15 14:16 在阳光下飞翔 阅读(163) 评论(0) 推荐(0) 编辑