欢迎光临
我们一直在努力

带进度条的关闭窗口,绝对有用!并可根据需要改写。

建站超值云服务器,限时71元/月

<% function myloading(a)%>
<form name="loading">
      <div align="center"><center><p><input
      style="padding-right: 0px; padding-left: 0px; font-weight: bolder; padding-bottom: 0px; color: red; border-top-style: none; padding-top: 0px; font-family: arial; border-right-style: none; border-left-style: none; background-color: yellow; border-bottom-style: none"
      size="46" name="chart"> <br>
      <input
      style="border-right: medium none; border-top: medium none; border-left: medium none; color: rgb(138,134,134); border-bottom: medium none; text-align: center"
      size="46" name="percent">

<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  
<%if a="closeit" then%>
            {    settimeout("closeme();",10);  }  
<%else%>
            {    settimeout("window.go(-1);",10);  }  
<%end if%>
        }
function closeme(){
        self.focus();
        self.close();
        return false;
    }
</script>
</p>
      </center></div>
</form>
<% end function %>

赞(0)
版权申明:本站文章部分自网络,如有侵权,请联系:west999com@outlook.com 特别注意:本站所有转载文章言论不代表本站观点! 本站所提供的图片等素材,版权归原作者所有,如需使用,请与原作者联系。未经允许不得转载:IDC资讯中心 » 带进度条的关闭窗口,绝对有用!并可根据需要改写。
分享到: 更多 (0)

相关推荐

  • 暂无文章