[JS11] 状态栏滚动


 

[JS11] 状态栏滚动
 1 <html>
 2 <head>
 3     <meta http-equiv="Content-Type" content="text/html; charset=gb2312">
 4         <title>请看状态栏的变化</title>
 5     <meta name="GENERATOR" content="Microsoft FrontPage 3.0">
 6     <script Language="JavaScript">
 7         var msg = "欢迎你,我的朋友,让我们在 JavaScript 的世界*翱翔吧 " ;
 8         var interval = 100
 9         var spacelen = 120;
10         var space10=" ";
11         var seq=0;
12         function scrollstr()
13         {
14             len = msg.length;
15             window.status = msg.substring(0, seq+1);
16             seq++;
17             if ( seq >= len )
18             {
19                 seq = 0;
20                 window.status = '';
21                 window.setTimeout("scrollstr();", interval );
22             }
23             else
24             window.setTimeout("scrollstr();", interval );
25         }
26         scrollstr();
27     </script>
28 </head>
29 <body>
30     <p align="center"><big><strong><font color="#0000FF" face="楷体_GB2312"><big><big>请看状态栏的变化
31     </big></big></font></strong></big></p>
32 </body>
33 </html>
[JS11] 状态栏滚动



上一篇:使用Windows迁移工具迁移2003至2012R2 一、工具介绍


下一篇:利用CRM中间件Middleware从ERP下载Customer Material的常见错误