2017年7月19日

摘要: JavaScript Promise迷你书(中文版) http://liubin.org/promises-book/#promise-polyfill 王骏的博客 手机营销网页实例 199Case http://www.199case.com 燎原之火的部落格 燎原之火的部落格 燎原之火的部落格 阅读全文
posted @ 2017-07-19 11:08 八颗 阅读(115) 评论(0) 推荐(0)

2017年2月19日

摘要: jQuery ajax 请求中追加 headers 参数对象 从服务器获取或设置Header的值 Header中会话参数(SID)的获取和设置 GET SID SET SID 阅读全文
posted @ 2017-02-19 13:19 八颗 阅读(158) 评论(0) 推荐(0)

2016年12月8日

摘要: Meta http-equiv 语法标签格式:<meta http-equiv="参数" content="参数值"> 1.“过期时间” 设定expires设定网页到期时间,一旦网页过期 ,必须到服务器重新传输(时间必须为GMT格式) <meta http-equiv="expires" conte 阅读全文
posted @ 2016-12-08 15:38 八颗 阅读(416) 评论(0) 推荐(0)

2016年11月30日

摘要: jQuery常用的元素查找方法总结 $("#myELement") 选择id值等于myElement的元素,id值不能重复在文档中只能有一个id值是myElement所以得到的是唯一的元素 jQuery常用的元素查找方法总结 $("#myELement") 选择id值等于myElement的元素,i 阅读全文
posted @ 2016-11-30 22:03 八颗 阅读(278) 评论(0) 推荐(0)

2016年11月29日

摘要: 1.一些实用规范:盒子模型,列表模块,超链接方式,语言模块,背景和边框,文字特效,多栏布局; 2:新增的选择器selctor eg: 1) 子元素过滤伪类:div:first-child (自动识别父元素,找父元素下的第一个div) :last-child :nth-child(odd/even/) 阅读全文
posted @ 2016-11-29 20:03 八颗 阅读(147) 评论(0) 推荐(0)

2016年11月28日

摘要: 1.通过navigator.geolocation来获取设备当前位置,返回一个位置对象,可以获得当前经纬度相关信息; 2.navgatior.geolocation的三个方法: getCurrentPosition(); watchPosition(); clearWatch(); 3.getCur 阅读全文
posted @ 2016-11-28 11:40 八颗 阅读(334) 评论(0) 推荐(0)

2016年11月20日

摘要: 1.盒子模型 标准CSS盒子模型=content+padding+border+margin; IE盒子模型:content+margin(content里面已经包含了padding+margin); 2.行内元素?块级元素?空元素? 行内元素:a、b、span、img、input、strong、s 阅读全文
posted @ 2016-11-20 21:38 八颗 阅读(260) 评论(0) 推荐(0)

2016年11月14日

摘要: 通过设定html根标签的font-size值,控制rem来达到全局布局的自适应的,CSS长度单位全部通过rem设定 必须在head在中引入不可以延迟引入; if(clientWidth>=750){//屏幕最大宽度设定值 docEl.style.fontSize = '100px'; }else i 阅读全文
posted @ 2016-11-14 16:46 八颗 阅读(818) 评论(0) 推荐(0)

导航