首页  :: 新随笔  :: 联系 :: 订阅 订阅  :: 管理

2010年11月12日

摘要: 代码都在这4个button里。 阅读全文

posted @ 2010-11-12 16:37 达奇 阅读(211) 评论(1) 推荐(0) 编辑

摘要: function CopyImage(img) { if (img.tagName != 'IMG') return; if (typeof img.contentEditable == 'undefined') return; if (!document.body.createControlRange) return; var ctrl = document.body.createControlRange(); img.contentEditable = true; ctrl.addElement(img); ctrl.execCommand('Cop 阅读全文

posted @ 2010-11-12 11:46 达奇 阅读(1864) 评论(0) 推荐(0) 编辑