摘要: http://i.cnblogs.com/EditPosts.aspx?opt=1&opt2=x就拿上面这个URL来说window.location.search的返回值为opt=1&opt2=x也就是说,返回值为url中?后面的部分。。。 阅读全文
posted @ 2014-11-26 16:48 VoctrALs 阅读(141) 评论(0) 推荐(0) 编辑
摘要: 1 标签有三个属性,id,width,height,必须。2var canvas = document.getElementById("some_id");var context = canvas.getContext("2d");// 找起点context.moveTo(10, 20);// 找终... 阅读全文
posted @ 2014-11-26 10:18 VoctrALs 阅读(234) 评论(0) 推荐(0) 编辑