上一页 1 ··· 8 9 10 11 12 13 14 15 16 下一页
摘要: 很多博文中称touch的三个事件都有targetTouches,touches以及changedTouches对象列表,其实不然,touchend事件中应该是只有个changedTouches触摸实例列表的,而且这里说明一下,回调函数的event只是一个普通的object对象,实际上event中有一 阅读全文
posted @ 2016-04-14 10:57 青草圆 阅读(14407) 评论(1) 推荐(0) 编辑
摘要: 出处:http://jingyan.baidu.com/article/b87fe19eb57ff252183568d9.html 出处:http://jingyan.baidu.com/article/b87fe19eb57ff252183568d9.html 网站建目前都很简单,建站容易,管理难 阅读全文
posted @ 2016-04-05 11:03 青草圆 阅读(238) 评论(0) 推荐(0) 编辑
摘要: 花了三天时间,终于弄清楚闭包的各种写法和注意的事项,以及以前写,经常出错的地方,特此做一个总结,虽然不够专业,但是对于那些初学者来说,绝对对闭包的理解事半功倍。 案例一: function aa(){ var b=10; return function cc(){ b++; alert(b); } 阅读全文
posted @ 2016-04-01 14:22 青草圆 阅读(168) 评论(0) 推荐(0) 编辑
摘要: 如已经安装sass 和 sass build两个插件到ST,command+b编译也没有问题,那么另外安装koala,在koala中引入你要编辑的sass,并把该sass文件设置为自动编译,那么用ST编辑该sass保存时就能自动编译了,不用每次command+b编译那么麻烦。<img 阅读全文
posted @ 2016-03-31 17:53 青草圆 阅读(616) 评论(0) 推荐(0) 编辑
摘要: 上篇博客介绍了同源策略和跨域访问概念,其中提到跨域常用的基本方式:JSONP和CORS。 那这篇博客就介绍JSONP方式。 JSONP原理 在同源策略下,在某个服务器下的页面是无法获取到该服务器以外的数据的,但img、iframe、script等标签是个例外,这些标签可以通过src属性请求到其他服务 阅读全文
posted @ 2016-03-31 11:07 青草圆 阅读(218) 评论(0) 推荐(0) 编辑
摘要: 转载自百度文库 http://wenku.baidu.com/view/9a703522bcd126fff7050bfa.html 1. oncontextmenu="window.event.returnValue=false" 将彻底屏蔽鼠标右键<table border oncontextme 阅读全文
posted @ 2016-03-30 17:19 青草圆 阅读(397) 评论(0) 推荐(0) 编辑
摘要: html css 效果图 阅读全文
posted @ 2016-03-30 11:12 青草圆 阅读(595) 评论(0) 推荐(0) 编辑
摘要: 备注 html 效果图 阅读全文
posted @ 2016-03-25 17:41 青草圆 阅读(1897) 评论(0) 推荐(0) 编辑
摘要: 出处:http://blog.csdn.net/dyllove98/article/details/8957232 CSS3中和动画有关的属性有三个 transform、 transition 和 animation。下面来一一说明: transform 从字面来看transform的释义为改变,使 阅读全文
posted @ 2016-03-25 15:19 青草圆 阅读(510) 评论(0) 推荐(1) 编辑
摘要: 出处:http://www.zhangxinxu.com/study/201603/icon-text-vertical-align.html css html 效果图1 小字号 2 大字号 阅读全文
posted @ 2016-03-25 11:29 青草圆 阅读(542) 评论(0) 推荐(0) 编辑
上一页 1 ··· 8 9 10 11 12 13 14 15 16 下一页