上一页 1 ··· 5 6 7 8 9 10 11 12 13 ··· 19 下一页
2010年6月30日
摘要: var now = new Date(); //当前日期 var nowDayOfWeek = now.getDay(); //今天本周的第几天 var nowDay = now.getDate(); //当前日 var nowMonth = now.getMonth(); //当前月 var nowYear = now.getYear(); //当前年 nowYear += (nowYear &... 阅读全文
posted @ 2010-06-30 10:16 刘卿 阅读(340) 评论(0) 推荐(0) 编辑
2010年6月28日
摘要: 在IE6 IE7 下给父页面添加元素,你必须给父页面创建该元素, parent.document.createElement(‘div’); 在FF IE8中,允许在子页面创建父页面的元素。所以在FF IE8中可以使用 parent.document.createElement(‘div’); 或者 document.createElement(‘div’) 总结: 使用 parent.doc... 阅读全文
posted @ 2010-06-28 09:52 刘卿 阅读(436) 评论(0) 推荐(0) 编辑
2010年6月18日
摘要: 今天看了小志的,border属性的性能测试,才知道浏览器渲染时,border:none;或者border:0,差与border:0 none; 阅读全文
posted @ 2010-06-18 17:00 刘卿 阅读(223) 评论(0) 推荐(0) 编辑
2010年6月10日
摘要: 在一个function里有一个each,在each里某种条件 成立的话,就把这个function返回true或者falsefunction methodone(){....$.each(array,function(){if(条件成立){return true;}});....}如果发现老是不对。后来查找资料才发现,在each代码块内不能使用break和continue,要实现break和cont... 阅读全文
posted @ 2010-06-10 10:05 刘卿 阅读(404) 评论(0) 推荐(0) 编辑
2010年5月26日
摘要: 1.仅IE可见的写法 <!--[if IE]>此处内容只有IE可见<![endif]–> 2.仅IE6可见的写法 <!-–[if IE 6]>此处内容只有IE6.0可见<![endif]–-> 3.仅IE7可见的写法 <!–-[if IE 7]>此处内容只有IE7.0可见<![endif]–-> 4.版本区间可显示... 阅读全文
posted @ 2010-05-26 10:36 刘卿 阅读(284) 评论(0) 推荐(0) 编辑
2010年5月20日
摘要: 测试测试 阅读全文
posted @ 2010-05-20 10:34 刘卿 阅读(109) 评论(0) 推荐(1) 编辑
摘要: <style type="text/css">* { margin:0; padding:0; border:0; list-style:none;}body { padding:20px; background:#eee;}#myfocus { width:450px; height:296px; overflow:hidden; padding:6px 6px 24px; back... 阅读全文
posted @ 2010-05-20 10:16 刘卿 阅读(314) 评论(0) 推荐(2) 编辑
2009年4月8日
摘要: 跟新博客,转移自己的 哈哈 阅读全文
posted @ 2009-04-08 15:15 刘卿 阅读(172) 评论(0) 推荐(0) 编辑
2009年3月30日
摘要: 博客刚开 希望大家交换友情链接 树下木狐狸 阅读全文
posted @ 2009-03-30 13:38 刘卿 阅读(158) 评论(0) 推荐(0) 编辑
2009年3月24日
摘要: 博客刚开 希望大家交换友情链接 树下木狐狸 阅读全文
posted @ 2009-03-24 10:14 刘卿 阅读(128) 评论(0) 推荐(0) 编辑
上一页 1 ··· 5 6 7 8 9 10 11 12 13 ··· 19 下一页