進度條的實現

來源:互聯網
上載者:User
<title>loadpage</title>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">

<style type="text/css">

<!--

.unnamed1 {  background-color: #000000}

-->

</style>

</head>

<body>

<table border=0 cellpadding=0 cellspacing=0 width="100%" height="100%">

<tr> 

<form name=loading>

      <td align=center> 

        <p align="center">&nbsp;</p>

        <p align="center"><font color="#00FF00" size="2"></font></p>

        <p> 
          <input type=text name=chart size=46 style="font-family:Arial; font-weight:bolder; 

color:#00FF00; background-color:black; padding:0px; border-style:none;">
          <br>
          <br>
          <input type=text name=percent size=46 style="font-family:Arial; color:#00FF00; 

text-align:center; border-width:medium; border-style:none;" class="unnamed1">
          <br>
          <br>
          <font color="#00FF00" size="2" > 
          <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='正在查詢,請稍候' 

if (bar<99) 
{
setTimeout("count()",50);


else 
{
amount ="";
setTimeout("count()",50);
bar=0;


}

</script>
          
          <noscript></noscript></font></p>
        
                  </td>

<!--//-->
</form>

</tr>

</table>

</body>

</html>

儲存為 wait.html
 //顯示 
 function checkCard(){
    
         parent.document.all.wait.height=400;
              parent.document.all.cardframe.height=0;
        document.location.href='Customer_Service01.aspx';
}

  

 function hide_wait()
            {
               parent.document.all.wait.height=0;
                parent.document.all.cardframe.height=document.body.scrollHeight;
               document.body.style.overflow="hidden";
            }
         
        </script>
    </HEAD>
    <body onload="hide_wait()" MS_POSITIONING="GridLayout">

//隱藏

http://files.cnblogs.com/gwazy/%E8%BF%9B%E5%BA%A6%E6%9D%A1.rar

聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在5個工作日內處理。

如果您發現本社區中有涉嫌抄襲的內容,歡迎發送郵件至: info-contact@alibabacloud.com 進行舉報並提供相關證據,工作人員會在 5 個工作天內聯絡您,一經查實,本站將立刻刪除涉嫌侵權內容。

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.