摘要: HTML: <div class="top"> <ul> <li class="finish">步骤一<span class="end"><em class="pre"></em><em class="nex"></em></span></li> <li>步骤二<span class="end">< 阅读全文
posted @ 2016-05-23 16:00 SKILL·NULL 阅读(347) 评论(0) 推荐(0)
摘要: animatron 阅读全文
posted @ 2016-05-20 17:47 SKILL·NULL 阅读(652) 评论(0) 推荐(0)
摘要: <script type="text/javascript"> var isIE = function (ver) { var b = document.createElement('b') b.innerHTML = '<!--[if IE ' + ver + ']><i></i><![endif 阅读全文
posted @ 2016-05-17 15:03 SKILL·NULL 阅读(359) 评论(0) 推荐(0)
摘要: 很简单,只需在<body>中添加如下代码: <body oncontextmenu='return false' ondragstart='return false' onselectstart='return false' onselect='document.selection.empty()' 阅读全文
posted @ 2016-05-17 13:28 SKILL·NULL 阅读(386) 评论(0) 推荐(0)
摘要: HTML: <div class="col-md-3"> <nav class="navbar"> <div class="container-fluid"> <div class="navbar-header common-border-bottom common-border-right com 阅读全文
posted @ 2016-05-16 14:32 SKILL·NULL 阅读(2935) 评论(0) 推荐(0)
摘要: <button onclick="javascript:history.go(-1);">返回上一页</button> <button onclick="javascript:history.back(-1);">返回上一页</button> 两个方法有所不同,一个保留表单数据,一个不保留数据。 j 阅读全文
posted @ 2016-05-12 17:15 SKILL·NULL 阅读(460) 评论(0) 推荐(0)
摘要: HTML: <input type="checkbox" onclick="boxOnclick(this,'some1')">全选一 <input type="checkbox" onclick="boxOnclick(this,'some2')">全选二 <input type="checkbo 阅读全文
posted @ 2016-05-11 17:47 SKILL·NULL 阅读(652) 评论(0) 推荐(0)
摘要: HTML: <button class="addHidden">点击</button> <div class="addShow" style="display:none">隐藏内容</div> JS: $(".addHidden").click(function () { if ($(".addSh 阅读全文
posted @ 2016-05-10 15:40 SKILL·NULL 阅读(768) 评论(0) 推荐(0)
摘要: HTML: <input type="checkbox" class="all"> <input type="checkbox" name="some"> JS: $(".all").click( function () { if (this.checked) { $("input[name='so 阅读全文
posted @ 2016-05-10 13:53 SKILL·NULL 阅读(189) 评论(0) 推荐(0)
摘要: HTML: <input type="checkbox" id="check-expert"> <div id="expert" style="display:none">隐藏层</div> JS: $(function () { if ($("#check-expert").attr("check 阅读全文
posted @ 2016-05-06 18:10 SKILL·NULL 阅读(773) 评论(0) 推荐(0)