home *** CD-ROM | disk | FTP | other *** search
/ PC Welt 1999 April / PCW0499.ISO / sharewar / PRX / Folder.EXE / Folder.htt
Encoding:
Text File  |  1999-01-07  |  978 b   |  25 lines

  1. <html>
  2. <body topmargin=0 leftmargin=0 rightmargin=0 bottommargin=0 scroll=no>
  3. <object id="FileList" classid="clsid:1820FED0-473E-11D0-A96C-00C04FD705A2" style="position: relative; width: 100%; height: 90%">
  4. </object>
  5. <div id=Clock align=center style="font-family:
  6.  Verdana; font-size: 18; font-weight=bold;
  7.  color:red; background:#E0E0E0"> </div>
  8. <script>
  9. function tick() {
  10.   var hours, minutes, seconds, day, month, today, year;
  11.   today = new Date(); hour=today.getHours();
  12.   minutes=today.getMinutes(); seconds=today.getSeconds();
  13.   year=today.getYear();
  14.   day=today.getDate(); month=today.getMonth()+1;
  15.       if (seconds < 10) {seconds="0"+seconds;}
  16.          if (minutes < 10) {minutes="0"+minutes;}
  17.          if (month < 10) {month="0"+month;}
  18.   timeString=day + "." + month + "."+year+" "
  19.       + hour+":"+minutes+":"+seconds;
  20.   Clock.innerHTML = timeString;
  21.   window.setTimeout("tick();", 100);}
  22.   window.onload = tick;
  23. </script> </p>
  24. </body>
  25. </html>