上一页 1 ··· 3 4 5 6 7 8 9 下一页
摘要: 用encodeURIComponent对要提交的中文进行编码 阅读全文
posted @ 2012-07-27 16:21 firesnow 阅读(246) 评论(0) 推荐(0) 编辑
该文被密码保护。 阅读全文
posted @ 2012-07-25 14:30 firesnow 阅读(6) 评论(0) 推荐(0) 编辑
摘要: phpheader("Location: http://blog.csdn.net/abandonship"); jslocation.href='http://www.xinwaihui.com' 阅读全文
posted @ 2012-07-25 13:09 firesnow 阅读(99) 评论(0) 推荐(0) 编辑
摘要: 由于chrome,safari,opara 浏览器还未支持自动 "设为首页" & "加入收藏". 所以我们只能try, catch一下, 给个错误提示! 也算完美了.另外ie中, 很多人也碰到过 它window.external.addFavorite. 时会报错的问题. 所以俺也只好抛出提示信息了.加入收藏:/** author : 2010-12-27 11:33:02 teresa* discription: add favorite*/function addFavorite(){ if (document.all){ try{ wind 阅读全文
posted @ 2012-07-25 11:21 firesnow 阅读(1069) 评论(0) 推荐(0) 编辑
摘要: 解决办法 给图片加个style position:relative 阅读全文
posted @ 2012-07-24 12:34 firesnow 阅读(125) 评论(0) 推荐(0) 编辑
摘要: 今天select * from 表名 where to_days(时间字段名) = to_days(now());昨天SELECT * FROM 表名 WHERE TO_DAYS( NOW( ) ) - TO_DAYS( 时间字段名) <= 17天SELECT * FROM 表名 where DATE_SUB(CURDATE(), INTERVAL 7 DAY) <= date(时间字段名)近30天SELECT * FROM 表名 where DATE_SUB(CURDATE(), INTERVAL 30 DAY) <= date(时间字段名)本月SELECT * FROM 阅读全文
posted @ 2012-07-16 19:54 firesnow 阅读(259) 评论(0) 推荐(0) 编辑
摘要: 在之前加一句echo '<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />'; 阅读全文
posted @ 2012-07-14 15:31 firesnow 阅读(1045) 评论(0) 推荐(0) 编辑
摘要: QQ临时会话 在线状态http://wp.qq.com/index.html 阅读全文
posted @ 2012-07-12 11:14 firesnow 阅读(102) 评论(0) 推荐(0) 编辑
摘要: $(document).ready(function(){alert($(window).height()); //浏览器当前窗口可视区域高度alert($(document).height()); //浏览器当前窗口文档的高度alert($(document.body).height());//浏览器当前窗口文档body的高度alert($(document.body).outerHeight(true));//浏览器当前窗口文档body的总高度 包括border padding marginalert($(window).width()); //浏览器当前窗口可视区域宽度alert($(d 阅读全文
posted @ 2012-07-12 10:33 firesnow 阅读(130) 评论(0) 推荐(0) 编辑
摘要: 格式化代码 shift+alt+F 阅读全文
posted @ 2012-07-10 09:56 firesnow 阅读(99) 评论(0) 推荐(0) 编辑
上一页 1 ··· 3 4 5 6 7 8 9 下一页