上一页 1 2 3 4 5 6 ··· 8 下一页
摘要: http://daneden.github.io/animate.css/ 阅读全文
posted @ 2015-05-28 16:22 椰树飘香 阅读(119) 评论(0) 推荐(0) 编辑
摘要: if(window.navigator.userAgent.toLowerCase().indexOf("msie") > 0){ return “IE”;}if(window.navigator.userAgent.toLowerCase().indexOf("msie 8.0") > -1){ ... 阅读全文
posted @ 2015-05-12 11:11 椰树飘香 阅读(295) 评论(0) 推荐(0) 编辑
摘要: /*设置与获取Cookie*/ 2 var Cookie ={} 3 Cookie.write = function(key, value, duration){ 4 var d = new Date(); 5 d.setTime(d.getTime()+1000*60*60*24*30); 6 ... 阅读全文
posted @ 2015-04-30 10:55 椰树飘香 阅读(493) 评论(0) 推荐(0) 编辑
摘要: strObj. charAt(index)strObj必需。任何String对象或字符串。index必需。所需字符的从零开始的索引。例子1: var str = "ABCDEFGHIJKLMNOPQRSTUVWXYZ";document.write(str.charAt(str.length - 1... 阅读全文
posted @ 2015-04-29 15:35 椰树飘香 阅读(286) 评论(0) 推荐(0) 编辑
摘要: chrome中的本地存储其实也是用的HTML5中localStorage,唯一区别是chrome扩展有自己的localStorage,它属于这个扩展,而不属于一个域名。得用这一点可以很好的处理扩展自己的一些数据,而不受访问网站和域名的影响。localStorage基础localStorage是HTM... 阅读全文
posted @ 2015-04-28 10:31 椰树飘香 阅读(1320) 评论(0) 推荐(0) 编辑
摘要: SON(JavaScript Object Notation)是一種輕量級的數據格式,采用完全獨立於語言的文本格式,是理想的數據交換格式。同時,JSON是Javascript原生格式,這意味着在javascript中處理JSON數據不需要任何特殊的API或工具包,而且效率非常高。 JSON的結構如下... 阅读全文
posted @ 2015-04-24 16:34 椰树飘香 阅读(284) 评论(0) 推荐(0) 编辑
摘要: vardetails={author:"isaac","description":"fresheggs","rating":100};storage.setItem("details",JSON.stringify(details));details=JSON.parse(storage.getIt... 阅读全文
posted @ 2015-04-24 15:54 椰树飘香 阅读(118) 评论(0) 推荐(0) 编辑
摘要: http://www.w3cplus.com/tools/15-must-know-chrome-devtools-tips-tricks.html谷歌浏览器如今是Web开发者们所使用的最流行的网页浏览器。伴随每六个星期一次的发布周期和不断扩大的强大的开发功能,Chrome变成了一个必须的工具。大多... 阅读全文
posted @ 2015-04-21 16:31 椰树飘香 阅读(219) 评论(0) 推荐(0) 编辑
该文被密码保护。 阅读全文
posted @ 2015-04-01 15:57 椰树飘香 阅读(5) 评论(0) 推荐(0) 编辑
该文被密码保护。 阅读全文
posted @ 2015-03-27 19:02 椰树飘香 阅读(1) 评论(0) 推荐(0) 编辑
上一页 1 2 3 4 5 6 ··· 8 下一页