个人感觉oTitle.onmouseup 部分写在function drag()中更好,思维更连贯
<script>
function drag( ) {
oTitle.onmousedown = fnDown;
oTitle.onmouseup = function(event){
}
}
<script>
function drag( ) {
oTitle.onmousedown = fnDown;
oTitle.onmouseup = function(event){
}
}
2015-06-24
举报