日期:2012-11-06 浏览次数:20827 次
<% Function myloading(a)%>
<form name="loading">
<div align="center"><center><p><input
style="PADDING-RIGHT: 0px; PADDING-LEFT: 0px; FONT-WEIGHT: bolder; PADDING-BOTTOM: 0px; COLOR: red; BORDER-TOP-STYLE: none; PADDING-TOP: 0px; FONT-FAMILY: Arial; BORDER-RIGHT-STYLE: none; BORDER-LEFT-STYLE: none; BACKGROUND-COLOR: yellow; BORDER-BOTTOM-STYLE: none"
size="46" name="chart"> <br>
<input
style="BORDER-RIGHT: medium none; BORDER-TOP: medium none; BORDER-LEFT: medium none; COLOR: rgb(138,134,134); BORDER-BOTTOM: medium none; TEXT-ALIGN: center"
size="46" name="percent">
<script>
var bar = 0
var line = "||"
var amount ="||"
count()
function count()
{
bar= bar+2
amount =amount + line
document.loading.chart.value=amount
document.loading.percent.value=bar+"%"
if (bar<99)
{setTimeout("count()",100);}
else
<%if a="closeit" then%>
{ setTimeout("closeme();",10); }
<%else%>
{ setTimeout("window.go(-1);",10); }
<%end if%>
}
function closeme(){
self.focus();
self.close();
return false;
}
</script>
</p>
</center></div>
</form>
<% End Function %>