一聚教程网:一个值得你收藏的教程网站

热门教程

无组件上载,带进度条,多文件上载三

时间:2022-07-02 23:20:56 编辑:袖梨 来源:一聚教程网

setTimeout("DisplayProgressBar(''" + xmlPath + "'')",1000);
    }
}

 

function displayProgress(){
    var objProgress = document.getElementById("Progress");
  objProgress.style.display = "";
}
function closeProgress(){
    var objProgress = document.getElementById("Progress");
  objProgress.style.display = "none";
}
function setProgressDivPos(){
    var objProgress = document.getElementById("Progress");
    objProgress.style.top = document.body.scrollTop+(document.body.clientHeight-document.getElementById("Progress").offsetHeight)/2
    objProgress.style.left = document.body.scrollLeft+(document.body.clientWidth-document.getElementById("Progress").offsetWidth)/2;
}


热门栏目