javascript 制作进度条
来源:互联网 发布:php b2b2c开源 编辑:程序博客网 时间:2024/05/01 00:00
下面的代码只要全部copy到html页面 就可以使用
<html>
<head>
<title>正在载入...</title>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
</head>
<body bgcolor="#FFFFFF" leftmargin="0" topmargin="0">
<table border=0 cellpadding=0 cellspacing=0 width="100%" height="100%">
<tr>
<form name=loading>
<td align=center>
<p><font color=gray>正在载入首页,请稍候.......</font></p>
<p>
<input type=text name=chart size=46 style="font-family:Arial;
font-weight:bolder; color:gray;
background-color:white; padding:0px; border-style:none;">
<br>
<input type=text name=percent size=46 style="font-family:Arial;
color:gray; 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.loading.chart.value=amount
document.loading.percent.value=bar+"%"
if (bar<99)
{setTimeout("count()",100);}
else
{window.location = "http://www.baidu.com/";}
}
</script>
</p>
</td>
</form>
</tr>
</table>
</body>
</html>
<head>
<title>正在载入...</title>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
</head>
<body bgcolor="#FFFFFF" leftmargin="0" topmargin="0">
<table border=0 cellpadding=0 cellspacing=0 width="100%" height="100%">
<tr>
<form name=loading>
<td align=center>
<p><font color=gray>正在载入首页,请稍候.......</font></p>
<p>
<input type=text name=chart size=46 style="font-family:Arial;
font-weight:bolder; color:gray;
background-color:white; padding:0px; border-style:none;">
<br>
<input type=text name=percent size=46 style="font-family:Arial;
color:gray; 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.loading.chart.value=amount
document.loading.percent.value=bar+"%"
if (bar<99)
{setTimeout("count()",100);}
else
{window.location = "http://www.baidu.com/";}
}
</script>
</p>
</td>
</form>
</tr>
</table>
</body>
</html>
- Javascript制作进度条
- javascript 制作进度条
- Javascript制作游戏之一:进度条的制作
- 制作进度条
- 进度条制作
- javascript 进度条
- javascript进度条
- javascript进度条
- javascript 进度条
- javascript 进度条
- Javascript进度条
- JavaScript进度条
- 简单Flash进度条制作
- 简单Flash进度条制作
- 利用CProgressCtrl制作进度条
- c# 制作进度条
- PS制作flash进度条
- js进度条的制作
- Apache Digester应用实例
- ajax中用responseXML读取不到中文数据的问题
- 问题:如何隐藏webBrowser的网页菜单?
- 也许你我都在等待~~~~~~~~~~~~~~~~
- C#经典书籍
- javascript 制作进度条
- test
- _IsPtrType -- STL type checking on compile-time -- Substitution Failure Is Not An Error (SFINAE)
- 优秀软件开发人员的五个好习惯 —— 译自 java.net
- sql初级经验 convert函数转换日期
- C#中判断字符串是否由数字组成
- Asp.net中cookies的读与写
- VS2005 SP1终于发布了
- Checkout the iterator type