Web页面进度条显示

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" >
<head>
<meta name="generator" content="microsoft visual studio 6.0">
<title></title>
<script language="javascript" type="text/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 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" style="height: 5px; text-align:center">
   <tr>
     <td style="width: 82px">
       <p style="font: messagebox; color: blue">正在加载:</p>    </td>
     <td style="width: 150px; height: 5px;text-align:left" >
       <marquee align="center" direction="right" scrolldelay="1" bgcolor="gainsboro" scrollamount="2" behavior="slide" style="height: 11px; border-right: #ff00ff 1px dashed; border-top: #ff00ff 1px dashed; font-size: xx-small; border-left: #ff00ff 1px dashed; width: 150px; border-bottom: #ff00ff 1px dashed;" >
       ██████████████████████████████████████████
       </marquee>
     </td>
     <td >
         <div id="per"></div>
     </td>
   </tr>
</table>


</body>
</html>

posted @ 2009-03-12 16:12  上海啸傲  阅读(254)  评论(0编辑  收藏  举报