# 速求三桂大嫂嫂。 解决问题。

0
[待解决问题]

ツ ↘ 懒 猫 | 初学一级 | 园豆：0

0

`//var moveX = 0;//var moveY = 0;//var moveTop = 0;//var moveLeft = 0;//var moveable = false;//var docMouseMoveEvent = document.onmousemove;//var docMouseUpEvent = document.onmouseup;//titleBar.onmousedown = function () {//    var evt = getEvent();//    moveable = true;//    //x坐标 //    moveX = evt.clientX;//    //y坐标//    moveY = evt.clientY;//    //上距离//    moveTop = parseInt(msgObj.style.top);//    //左距离//    moveLeft = parseInt(msgObj.style.left);//    //移动事件      //    document.onmousemove = function (o) {//        if (moveable) {//            var evt = getEvent();//            var x = moveLeft + evt.clientX - moveX;//            var y = moveTop + evt.clientY - moveY;//            if (x > 0 && (x + w < iWidth) && y > 0 && (y + h < iHeight)) {//                msgObj.style.left = x + "px";//                msgObj.style.top = y + "px";//                mask.style.left = msgObj.style.left;//                mask.style.top = msgObj.style.top;//            }//        }//    };////    document.onmouseup = function () {//        if (moveable) {//            document.onmousemove = docMouseMoveEvent;//            document.onmouseup = docMouseUpEvent;//            moveable = false;//            moveX = 0;//            moveY = 0;//            moveTop = 0;//            moveLeft = 0;//        }//    };//}`

0

你家的三桂大婶要颓废了；

Fry_CiCi | 园豆：0 (初学一级) | 2010-11-25 14:35

您需要登录以后才能回答，未注册用户请先注册