13、状态栏显示标准时钟

13、状态栏显示标准时钟

<SCRIPT language="JavaScript">

 

       function doClock() {

 

              window.setTimeout( "doClock()", 1000 );

 

              today = new Date();

 

              self.status = today.toString();

 

    }

 

</SCRIPT>

</head>

 

<body onLoad="doClock()">

 

Write a comment

Comments: 0