06 2014 档案

摘要:http://www.cnblogs.com/purediy/archive/2012/06/10/2544184.html 阅读全文
posted @ 2014-06-27 10:10 Western Journey 阅读(142) 评论(0) 推荐(0)
摘要:chrome不支持 $(self.parent.frames["header"].document) 阅读全文
posted @ 2014-06-25 17:02 Western Journey 阅读(99) 评论(0) 推荐(0)
摘要:HTML代码如下: JS Bin web stroage 保存数据 显示数据Js代码如下:function saveStorage(x){ var _this=document.getElementById(x); var _value=_this.value; lo... 阅读全文
posted @ 2014-06-17 15:38 Western Journey 阅读(202) 评论(0) 推荐(0)
摘要:var color='red';for(var p in color){console.log(color[p])};//r //e //dvar a=null;for(var k in a){console.log(a[k])};//undefinedvar flag=true;for(var j... 阅读全文
posted @ 2014-06-14 20:09 Western Journey 阅读(236) 评论(0) 推荐(0)
摘要:JS Bin 做一条直线(js代码):var myCanvas = document.getElementById('myCanvas');var ctx = myCanvas.getContext('2d');ctx.moveTo(1,1);ctx.lineTo(20,30);ctx.strok... 阅读全文
posted @ 2014-06-10 10:39 Western Journey 阅读(212) 评论(0) 推荐(0)