1.建立进度条html页面
progressbar.htm
script language="javascript"
function setPgb(pgbID, pgbValue)
{
if ( pgbValue = 100 )
{
//debugger;
if (lblObj = document.getElementById(pgbID+'_label'))
{
lblObj.innerHTML = pgbValue + '%'; // change the label value
}
if ( pgbObj = document.getElementById(pgbID) )
{
var divChild = pgbObj.children[0];
pgbObj.children[0].style.width = pgbValue + "%";
}
window.status = "数据读取" + pgbValue + "%,请稍候";
}
if ( pgbValue == 1...[ 查看全文 ]