發新話題
打印

顯示網頁載入情況 1 / 顯示網頁載入情況 2

顯示網頁載入情況 1 / 顯示網頁載入情況 2

<script language="javascript1.2"> function abc() { if(document.layers) eval('document.layers["load"].visibility="hidden"')
else eval('document.all["load"].style.visibility="hidden"'); } if(document.layers) document.write('<layer id="load" z-index=1000>');
else document.write('<div id="load" style="position: absolute;width: 100% ; height: 110% ; top: 0px; left: 0px;z-index:1000px;">');
document.write('<table border=0 width="100%" height="100%" bgcolor=#FFFFFF>');
document.write('<tr><td align=center>'); document.write('<p style="font-size:9pt;">載入中...請稍候 ...</p>');
document.write('</td></tr></table>'); if(document.layers) document.write('</layer>');
else document.write('</div>'); window.onLoad=setTimeout("abc()",1000); </script>



此論壇不能顯示語法效果 可貼去本站語法測試板試看
我唔係人.........

TOP

顯示網頁載入情況 2

<center> 網頁載入中,請稍候......
<form name="loading">
<input name="chart" size="29" style="background-color:white;color:#FF0000; font-family:Arial;font-weight:bolder;border-style:none;padding:0px">
<br><input name="percent" size="2">
</form>
</center>
<script language="JavaScript">
var bar = 0;
var line = "||";
var amount ="||";
count();
function count(){
bar= bar+3;
amount =amount + line;
document.loading.chart.value=amount;
document.loading.percent.value=bar+"%";
if (bar<99) {setTimeout("count()",100);} else {window.location = "269-2.htm";} }
</script>

 

此論壇不能顯示語法效果 可貼去本站語法測試板試看
我唔係人.........

TOP

發新話題