上一页 1 ··· 10 11 12 13 14 15 16 17 18 ··· 55 下一页

2017年6月3日

jQuery 效果 - 淡入淡出

摘要: http://www.w3school.com.cn/jquery/jquery_fade.asp 阅读全文

posted @ 2017-06-03 10:27 防空洞123 阅读(123) 评论(0) 推荐(0) 编辑

2017年6月1日

msyql多个or,and,

摘要: where (`to`= 2 and `from`= 8) or (`to`= 8 and `from`= 2) and from_unixtime(a.time,'%Y-%m-%d') ='2017-05-31'order by a.time desc select a.*,from_unixti 阅读全文

posted @ 2017-06-01 10:52 防空洞123 阅读(201) 评论(0) 推荐(0) 编辑

2017年5月29日

mysql中 where in 用法详解

摘要: 这里分两种情况来介绍 1、in 后面是记录集,如: select * from table where uname in(select uname from user); 2、in 后面是字符串,如: select * from table where uname in('aaa',bbb','cc 阅读全文

posted @ 2017-05-29 15:54 防空洞123 阅读(3455) 评论(0) 推荐(0) 编辑

2017年5月22日

history.back(-1)和history.go(-1)的区别

摘要: H5页面做多了,自然就会做到页面上的返回功能,返回功能大致有两种:history.back(-1)和history.go(-1),今天我们来说说两种方法的区别。 这个方法的用途 返回一个页面方法有很多,就好比给返回按钮绑定一个URL,但是如果一个页面可以从很多页面到达,那么这个页面返回的页面就不是固 阅读全文

posted @ 2017-05-22 18:02 防空洞123 阅读(241) 评论(0) 推荐(0) 编辑

2017年5月21日

用JS获取地址栏参数的方法(超级简单)

摘要: 方法一:采用正则表达式获取地址栏参数:( 强烈推荐,既实用又方便!) function GetQueryString(name) { var reg = new RegExp("(^|&)"+ name +"=([^&]*)(&|$)"); var r = window.location.searc 阅读全文

posted @ 2017-05-21 11:27 防空洞123 阅读(195) 评论(0) 推荐(0) 编辑

2017年5月16日

php读取目录及子目录下所有文件名的方法

摘要: 为了便于操作,先将PHP读取目录及子目录下所有文件名的方法封装成一个类。 // + // | lidequan [ I CAN DO IT JUST WORK HARD ] // + // | Copyright (c) 2016 http://www.findme.wang All rights 阅读全文

posted @ 2017-05-16 02:47 防空洞123 阅读(1665) 评论(0) 推荐(0) 编辑

2017年5月15日

css input[type=file] 样式美化,input上传按钮美化

摘要: http://www.haorooms.com/post/css_input_uploadmh 思路是外层用a标签包裹住,样式自己设置,内层的input[type=file]设置为透明 这就是效果了 阅读全文

posted @ 2017-05-15 19:58 防空洞123 阅读(729) 评论(0) 推荐(0) 编辑

2017年5月14日

APACHE REWRITE ? 匹配问号的写法

摘要: RewriteRule 不会去匹配 ? 后面的字符串,需要用RewriteCond来匹配 把 /abc?id=123 => /def.php?id=123 的写法: RewriteEngine on RewriteCond %{QUERY_STRING} ^id=(.+)$ RewriteRule 阅读全文

posted @ 2017-05-14 22:58 防空洞123 阅读(1166) 评论(0) 推荐(0) 编辑

Fancybox丰富的弹出层效果

摘要: http://www.helloweba.com/view-blog-65.html jquery pinwheel - 仿新浪微博提示层插件 http://demo.16css.com/piaofu/770/demo.html 阅读全文

posted @ 2017-05-14 19:13 防空洞123 阅读(146) 评论(0) 推荐(0) 编辑

2017年5月11日

str_replace中的匹配空白符,必须用双引号

摘要: 例: 执行上面的语句,你会发现,文本没有任何变化,该换行的地方还是换行。 解决办法: 阅读全文

posted @ 2017-05-11 18:41 防空洞123 阅读(825) 评论(0) 推荐(0) 编辑

上一页 1 ··· 10 11 12 13 14 15 16 17 18 ··· 55 下一页

导航