web进度条(假的[转])![]()
别的地方看到,稍微修改了一下。忘记原来地址是哪了。
1
<HTML>
2
<HEAD>
3
<TITLE></TITLE>
4
<META http-equiv="Content-Type" content="text/html; charset=gb2312">
5
<META content="Microsoft Visual Studio 6.0" name="GENERATOR">
6
<script language="javascript">
7
<!--
8
var myTime=0
9
function counter(){
10
myTime++
11
per.innerHTML="<font size=2 color=darkblue> "+myTime+"%</font>"
12
if (myTime<100)
13
setTimeout("counter()",32);
14
else{
15
//setTimeout("self.close()",5000) //窗口自动关闭时间,此处为5秒
16
}
17
}
18
function window_onload() {
19
counter()
20
}
21
setTimeout("self.close()",500)
22
//-->
23
</script>
24
</HEAD>
25
<BODY language="javascript">
26
<FONT face="MS UI Gothic" color="navy" size="2">
27
<table id="Table1" style="WIDTH: 228px; HEIGHT: 18px" cellSpacing="0" cellPadding="0" width="228"
28
align="left" border="0">
29
<tr>
30
<td style="WIDTH: 131px" noWrap width="131">
31
<p align="left">DownLoading。
32
</p>
33
</td>
34
<td borderColor="#000000" width="4%">
35
<marquee style="BORDER-RIGHT: black 1px outset; BORDER-TOP: black 1px outset; FONT-SIZE: xx-small; BORDER-LEFT: black 1px outset; WIDTH: 144px; COLOR: #000080; BORDER-BOTTOM: black 1px outset; HEIGHT: 13px"
36
scrollAmount="9" scrollDelay="1" direction="right" behavior="slide" bgColor="gainsboro">███████████████████████████████████████████████████████████████████████████████</marquee>
37
</td>
38
</tr>
39
</table>
40
</FONT>
41
</BODY>
42
</HTML>
<HTML>2
<HEAD>3
<TITLE></TITLE>4
<META http-equiv="Content-Type" content="text/html; charset=gb2312">5
<META content="Microsoft Visual Studio 6.0" name="GENERATOR">6
<script language="javascript">7
<!--8
var myTime=09
function counter(){10
myTime++11
per.innerHTML="<font size=2 color=darkblue> "+myTime+"%</font>"12
if (myTime<100)13
setTimeout("counter()",32); 14
else{15
//setTimeout("self.close()",5000) //窗口自动关闭时间,此处为5秒16
}17
}18
function window_onload() {19
counter()20
}21
setTimeout("self.close()",500)22
//-->23
</script>24
</HEAD>25
<BODY language="javascript">26
<FONT face="MS UI Gothic" color="navy" size="2">27
<table id="Table1" style="WIDTH: 228px; HEIGHT: 18px" cellSpacing="0" cellPadding="0" width="228"28
align="left" border="0">29
<tr>30
<td style="WIDTH: 131px" noWrap width="131">31
<p align="left">DownLoading。32
</p>33
</td>34
<td borderColor="#000000" width="4%">35
<marquee style="BORDER-RIGHT: black 1px outset; BORDER-TOP: black 1px outset; FONT-SIZE: xx-small; BORDER-LEFT: black 1px outset; WIDTH: 144px; COLOR: #000080; BORDER-BOTTOM: black 1px outset; HEIGHT: 13px"36
scrollAmount="9" scrollDelay="1" direction="right" behavior="slide" bgColor="gainsboro">███████████████████████████████████████████████████████████████████████████████</marquee>37
</td>38
</tr>39
</table>40
</FONT>41
</BODY>42
</HTML>
