江爱笛生
2016-04-05 18:04
function drag(){
var oTitle=getByClass('login_logo_webqq','loginPanel')[0];
// 拖曳
oTitle.onmousedown=fnDown;
// 释放鼠标
document.onmouseup=function(){
document.onmousemove=null;
document.onmouseup=null;
};
}这样为什么释放鼠标就第一次成功有效呢
嗯,同求解答,知道了告诉我下哈,兄台
document.onmouseup=function(){
document.onmousemove=null;
document.onmouseup=null;
};原本在fnDown内部
DOM事件探秘
99532 学习 · 1300 问题
相似问题