就是加载一个静态的HTML页面前面添加加载进度条。
<p align=center> <font color="#0066ff" size="2" face="Arial">数据载入中,请稍等...</font>
<input type=text name=chart id=chart size=46 style="font-family:Arial; font-weight:bolder; color:#0066ff; background-color:#fef4d9; padding:0px; border-style:none;">
<input type=text name=percent id=percent size=47 style="color:#0066ff; text-align:center; border-width:medium; border-style:none;">
<script>
var bar=0
var line="||"
var amount="||"
count()
function count(){
bar=bar+2
amount =amount + line
document.getElementById("chart").value=amount
document.getElementById("percent").value=bar+"%"
if (bar<99)
{setTimeout("count()",100);}
else
{window.location = "你的页面";}
}</script>
</p>
如以上回答内容为低俗、色情、不良、暴力、侵权、涉及违法等信息,可以点下面链接进行举报!
点此我要举报以上问答信息