摘要:
var rDrag = {o:null,init:function(o){o.onmousedown = this.start;},start:function(e){var o;e = rDrag.fixEvent(e); e.preventDefault && e.preventDefault(); rDrag.o = o = this;o.x = e.clientX - rDrag.o.offsetLeft; o.y = e.clientY - rDrag.o.offsetTop;document.onmousemove = rDrag.move;document.onm 阅读全文