web进度条

[入库:2005年8月18日] [更新:2007年3月25日]

本文简介:选择自 sunmingdong 的 blog

web进度条

源代码如下,很容易读,有问题请email: sunmingdong@371.net

<html>
<head>
<meta name="generator" content="microsoft visual studio 6.0">
<title></title>
<script language=javascript>
<!--
var mytime=0
function counter(){
 mytime++
 per.innerhtml="<font size=2 color=darkblue>&nbsp;&nbsp;"+mytime+"%</font>"
 if (mytime<100)
  settimeout("counter()",40);
 else{
  window.open("http://www.sina.com.cn",null,"fullscreen=yes,channelmode=no,toolbar=no,location=no,directories=no,status=no,menubar=no,resizable=no")
 }
}
function window_onload() {
 counter()
}

//-->
</script>
</head>
<body language=javascript onload="return window_onload()">
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>

<table border="0" cellpadding="0" cellspacing="0" width="50%" align=center>
  <tr>
    <td width="51%" nowrap>
      <p align="right"><font face=宋体 color=navy
      size=2>正在加载:</font></p>   </td>
    <td width="4%" bordercolor="#000000">
      <marquee align="middle" direction="right" scrolldelay="1" bgcolor="gainsboro" scrollamount="2" style="border-right: black 1px outset; border-top: black 1px outset; font-size: xx-small; border-left: black 1px outset; width: 133px; color: #000080; border-bottom: black 1px outset; height: 13px"
      behavior="slide"
     >███████████████████████████████████████████████████████████████████████████████</marquee>
    </td><td width="45%" align=left><div id=per></div></td>
  </tr>
</table>


</body>
</html>

本文关键:进度条
 

本站最佳浏览方式为 分辨率 1024x768 IE 6.0(或更高版本的 IE浏览器)

go top