摘要: 显示这一礼拜的日期html: 日 一 二 三 四 五 ... 阅读全文
posted @ 2014-03-23 21:51 阿朱妹纸 阅读(808) 评论(0) 推荐(0) 编辑
摘要: 写CSS时的顺序下表顺序为从上到下,从左到右:========================display || visibilitylist-style : list-style-type || list-style-position || list-style-imagepositiontop || right || bottom || leftz-indexclearfloatwidthmax-width || min-widthheightmax-height || min-heightoverflow || clipmargin : margin-top || margin-rig 阅读全文
posted @ 2013-12-17 09:07 阿朱妹纸 阅读(143) 评论(0) 推荐(0) 编辑
摘要: HTML<div class="main"> <div class="cont" id="abc"> 我出来了! </div> <div class="btn"> <input type="button" id="btn" value="点击我可以显示内容" /> </div></div>CSS.cont{display:none;}JS<script type=&q 阅读全文
posted @ 2013-05-30 09:51 阿朱妹纸 阅读(104) 评论(0) 推荐(0) 编辑
摘要: 利用position 来改变top的值, 阅读全文
posted @ 2013-04-19 17:24 阿朱妹纸 阅读(214) 评论(0) 推荐(0) 编辑
摘要: CSSbody { cursor:default; -webkit-text-size-adjust:none; font-size:12px; font-family:Arial; background:#FFF; line-height:50px; }.clear { zoom:1; }.clear:after { visibility:hidden; display:block; font-size:0; content:"1"; clear:both; height:0; }.main { width:500px; margin:0 auto; }.ibanner_ 阅读全文
posted @ 2013-02-22 16:27 阿朱妹纸 阅读(433) 评论(0) 推荐(0) 编辑
摘要: HTML<div class="main"> <input name="" type="checkbox" value="" checked="checked" /> <input name="" type="checkbox" value="" checked="checked" /> <input name="" type="checkbox 阅读全文
posted @ 2013-01-27 16:03 阿朱妹纸 阅读(483) 评论(0) 推荐(0) 编辑
摘要: JS:$(".con").eq(0).show(); $(".btn span").click(function(){ var num =$(".btn span").index(this); $(".con").hide(); $(".con").eq(num).show().slblings().hide(); })CSS: body { cursor:default; -webkit-text-size-adjust:none; font-size:12px; font-family:Ar 阅读全文
posted @ 2012-12-14 11:17 阿朱妹纸 阅读(569) 评论(0) 推荐(1) 编辑