qanglee 发表于 2007-4-27 11:21:55

***页面特效***页面转向的进度条

把下列代码加到网页的<body></body>标签之间 从google下载我的照片管理软件
要完成此效果把如下代码加入到<body>区域中

<form name="loading">
   <div align="center">
    <p><font color="#0000ff"><input name="chart" size="37" style="background-color: black; color: #ff0000; font-family: arial; font-weight: bolder; border-style: none; padding: 0px"><br><input name="percent" size="53" style="background-color: black; color: #ffffff; text-align: center; border-style: none; border-width: medium">

    </font>
      <script>
var bar = 0
var line = "||"
var amount ="||"
count()
function count(){
bar= bar+3
amount =amount+line
document.loading.chart.value=amount
document.loading.percent.value=bar+"%"
if (bar<99)
{settimeout("count()",100);}
else
{window.location = "#";}//要链接的页面
}
</script>
      










--------------------------------------

http://www.huoyue.com.cn 活跃网,活跃人群的论坛,访问活跃网,将给您带来意想不到的收获,还可以免费为您开论坛,让您免费拥有与朋友、网友交流的论坛。你是年轻人吗?你活跃你就上!
页: [1]
查看完整版本: ***页面特效***页面转向的进度条