为何这个document.onmousemove = fnMove(event, disX, disY) 或者 window.event 都不行,必须写function(event){}
document.onmousemove = function(event){
event = event ||window.event;
fnMove(event, disX, disY);
}
document.onmousemove = function(event){
event = event ||window.event;
fnMove(event, disX, disY);
}
2015-06-24
举报