摘要: https://isux.tencent.com/h5-performance.html 阅读全文
posted @ 2016-06-03 19:00 web_liu 阅读(159) 评论(0) 推荐(0) 编辑
摘要: 1、iphone safari不兼容CSS的active的解决方案如下: 参考链接:http://stackoverflow.com/questions/8330559/hover-effects-using-css3-touch-events 阅读全文
posted @ 2016-06-03 17:55 web_liu 阅读(9278) 评论(0) 推荐(0) 编辑
摘要: https://github.com/amfe/article/issues/17 阅读全文
posted @ 2016-06-03 17:48 web_liu 阅读(175) 评论(0) 推荐(0) 编辑
摘要: http://www.cnblogs.com/top100/archive/2011/06/15/2081431.html 阅读全文
posted @ 2016-06-03 17:41 web_liu 阅读(1626) 评论(0) 推荐(0) 编辑
摘要: (1) shift 删除原数组第一项,并返回删除元素的值;如果数组为空则返回undefined (2) unshift 将参数添加到原数组开头,并返回数组的长度 注:在IE6.0下测试返回值总为 undefined,FF2.0下测试返回值为7,所以这个方法的返回值不可靠,需要用返回值时可用splic 阅读全文
posted @ 2016-06-03 17:40 web_liu 阅读(258) 评论(0) 推荐(0) 编辑
摘要: String对象属性 (1) length属性 length算是字符串中非常常用的一个属性了,它的功能是获取字符串的长度。当然需要注意的是js中的中文每个汉字也只代表一个字符,这里可能跟其他语言有些不一样。 (2) prototype属性 prototype在面向对象编程中会经常用到,用来给对象添加 阅读全文
posted @ 2016-06-03 11:17 web_liu 阅读(248) 评论(0) 推荐(0) 编辑