摘要: canvas主要属性和方法 方法 描述 save() 保存当前环境的状态 restore() 返回之前保存过的路径状态和属性 createEvent() getContext() 返回一个对象,指出访问绘图功能必要的API toDataURL() 返回canvas图像的URL canvas的API颜 阅读全文
posted @ 2016-05-24 17:25 Gail·Zeng 阅读(2067) 评论(0) 推荐(0) 编辑
摘要: 1. 禁止右键点击 $(document).ready(function(){ $(document).bind("contextmenu",function(e){ return false; }); }); 2. 隐藏搜索文本框文字 Hide when clicked in the search 阅读全文
posted @ 2016-05-24 16:57 Gail·Zeng 阅读(668) 评论(0) 推荐(2) 编辑