好脑子不如烂笔头

看完之后及时的巩固和做好笔记,以后温习很方便

2017年3月21日

js添加锚点

摘要: <div name="1F" id="1F"></div><div class="top_img displayno"> <a href="javascript:void(0);" onclick="naver('1F')"><img src="top.png" alt=""></a></div> 阅读全文

posted @ 2017-03-21 15:19 tank&? 阅读(1678) 评论(0) 推荐(0) 编辑

2017年3月15日

input做一个开关按钮

摘要: .mui-switch { width: 52px; height: 31px; position: relative; border: 1px solid #dfdfdf; background-color: #fdfdfd; box-shadow: #dfdfdf 0 0 0 0 inset; 阅读全文

posted @ 2017-03-15 16:58 tank&? 阅读(1517) 评论(0) 推荐(0) 编辑

2017年3月14日

干货 京东16改版总结(分享链接)

摘要: https://aotu.io/notes/2016/12/26/jd-index-2016-summary/ 阅读全文

posted @ 2017-03-14 16:41 tank&? 阅读(108) 评论(0) 推荐(0) 编辑

2017年3月6日

js获取table中的列的数字的和

摘要: function getTdValue(a) { var tableId = document.getElementById("tab"); var num; for(var i=0;i<tableId.rows.length;i++) { var num=Number(str)+Number(ta 阅读全文

posted @ 2017-03-06 18:13 tank&? 阅读(1202) 评论(0) 推荐(0) 编辑
添加回到顶部按钮

摘要: 获取览器显示区域的高度 : $(window).height(); 获取浏览器显示区域的宽度 :$(window).width();获取页面的文档高度 :$(document).height();获取页面的文档宽度 :$(document).width();获取滚动条到顶部的垂直高度 :$(docu 阅读全文

posted @ 2017-03-06 16:22 tank&? 阅读(284) 评论(0) 推荐(0) 编辑

2017年2月27日

简单的倒计时

摘要: function CountDown(){ var a=120; var time=setInterval(function(){ $('.get-code').html(a); if(a<1){ $('.get-code').html('获取验证码'); clearInterval(time); 阅读全文

posted @ 2017-02-27 19:57 tank&? 阅读(103) 评论(0) 推荐(0) 编辑

2017年2月21日

经常参考的网站,以后还会增加

摘要: 图片压缩网站:https://tinypng.com/ 全屏滚动的:http://www.dowebok.com/demo/2014/77/ sass: http://www.sass-zh.com/ sass用法指南:http://www.ruanyifeng.com/blog/2012/06/s 阅读全文

posted @ 2017-02-21 09:20 tank&? 阅读(170) 评论(0) 推荐(0) 编辑