网站制作学习网ASP→正文:状态栏中显示页面载入进度
字体:

状态栏中显示页面载入进度

ASP 2008/2/1 8:06:22  点击:不统计

<script language=VBScript>

Dim Bar, Line, SP

Bar = 0 

Line = "▌"

SP = 100



Function Window_onLoad()

 Bar = 95

 SP = 10

End Function



Function Count()

 If Bar < 100 Then

  Bar = Bar + 1

  Window.Status = "已成功下载" & Bar & "%" & " " & String(Bar, Line)

  setTimeout "Count()", SP

 Else

  Window.Status = "AspToOn工作室 http://nowasp.yeah.net"

  Document.Body.Style.Display = ""

 End If  

End Function



Call Count()

</script>



·上一篇:[转载] ASP编写成DLL >>    ·下一篇:asp变量传值js >>
推荐文章
最新文章