close

<script>
// LOAD 進度
function showLoadingBar()
{var i,j=0;
 bar01.style.pixelTop=bar02.style.pixelTop=document.body.clientHeight/2-14;
 bar01.style.pixelLeft=bar02.style.pixelLeft=document.body.clientWidth/2-105;
 for(i=0;i<document.images.length;i++) if(document.images[i].readyState=="complete") j++;
 if (document.images.length>0) j=Math.floor(j*100/document.images.length+0.00001); else j=100;
 loadingBarLeft.style.width=j*2+1; loadingBarRight.style.width=201-j*2;
 loadingBarMsg.innerText="網頁載入中("+j+"%)..."
 if(j==100) {loadingBarMsg.innerText="網頁載入完成"; setTimeout("hideLoadingBar();",1000);}
 else {setTimeout("showLoadingBar()",50);}
}
function hideLoadingBar() {bar01.style.pixelTop=bar02.style.pixelTop=-999;}
</script>

 

<div id="bar01" style="position:absolute;z-index:99998;top:-999;">
<table border="1" bordercolor="#000000" bgcolor="#ffffff">
 <tr bgcolor="#ffffff" height="20"><td width="1">
 <td id="loadingBarLeft" bgcolor="#7f7fff" width="1">
 <td id="loadingBarRight" bgcolor="#ffffff" width="201">
</table>
</div>
<div id="bar02" style="position:absolute;z-index:99999;top:-999;filter:DropShadow(Color=#000000,OffX=1,OffY=1,Positive=true);">
<table width="208" height="28"><tr><td align="center">
<font color="#ffdf00" style="font-size:12pt"><span id="loadingBarMsg"></span></font>
</table>
</div>
<script>
showLoadingBar();
</script>

arrow
arrow
    全站熱搜
    創作者介紹
    創作者 meltdown 的頭像
    meltdown

    meltdown

    meltdown 發表在 痞客邦 留言(0) 人氣()