摘要: 运行效果图:[点击这里] 1 2 3 4 5 6 22 66 67 68 69 70 View Code 阅读全文
posted @ 2015-06-10 16:38 林大勇 阅读(138) 评论(0) 推荐(0) 编辑
摘要: addEventListener() and removeEventListener();These methods exist on all DOM nodes and accept three arguments: the event name to handle, the event hand... 阅读全文
posted @ 2015-06-10 11:50 林大勇 阅读(181) 评论(0) 推荐(0) 编辑
摘要: http://bbs.zhinengshe.com/thread-1200-1-1.html要求:实现div块的拖拽原理:拖拽过程中鼠标点和div块的相对位置保持不变。需要理解三点:1. 为什么要把onmousemove,onmouseup加在document上面 ?2. onmouseup要怎么使... 阅读全文
posted @ 2015-06-10 10:19 林大勇 阅读(244) 评论(0) 推荐(0) 编辑