摘要:
例(function(){ if(typeof Drag != "undefined") { var _Drag = Drag; } //此处声明Drag类 //--elementid:要移动元素的ID var Drag = window.Drag = function(elementid){ var thisDrag = this; this.DifWidth = 0; this.DifHeight = 0; this.thisDivDrag = document.getElementByIdx_x_x_x_x_x(elementid); this.thisDivDrag 阅读全文