home *** CD-ROM | disk | FTP | other *** search
- <script language="javascript">
-
- <!-- Clock in Java Script .. Benny Sparano
-
- // http://chelsea.ios.com/~benny3/ benny3@chelsea.ios.com
-
- var dateform
-
- speed=1000
-
- len=28
-
- tid = 0;
-
-
-
- function dodate()
-
- {
-
- f.date.value=new Date();
-
- tid=window.setTimeout("dodate()",speed);
-
- }
-
-
-
- function start(x) {
-
- f=x
-
- tid=window.setTimeout("dodate()",speed);
-
- }
-
-
-
- function cleartid() {
-
- window.clearTimeout(tid);
-
- }
-
-
-
- // for some reason on some pages this crashes netscape
-
- function Clock()
-
- {
-
- document.write('<FORM name=dateform><input name=date size=')
-
- document.write(len)
-
- document.write(' value="Clock: Requires Javascript"></FORM>')
-
- start(document.dateform);
-
- }
-
- // end-->
-
- </script>
-
- </head>
-
- <body>
-
- <script language="javascript">
-
- // You need a javascript compatible browser to view the following <br>
-
- Clock();
-
- // end javascipt section <br>
-
- </script>
-
-