如何制作HTML加载页面代码??
发布网友
发布时间:2022-05-02 17:40
我来回答
共1个回答
热心网友
时间:2022-04-20 11:10
<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>