1.用js实现元素移动,拖拽:http://www.codebit.cn/pub/html/javascript/tutorial/how_to_drag_and_drop_in_javascript/ 2.用js获取鼠标位置:http://www.codebit.cn/pub/html/javascript/tip/mouse_position/