ENHANCED BY:Mattias Sjöberg...Personal Homepage
DATE:1996-06-28


Please stay until xx.xx.00


Anything else You think I should monitor? Mail me!!!
COMMENTS FROM THE ADMINISTRATOR:
Check out the code
window.status = ...;
it can be useful! It lets you put text at the bottom of the screen instead of the "Document: Done" you can put whatever you want! Not bad!
timerID = setTimeout("showtime()",1000);
1000 is the time in milliseconds between the updates of the clock. Change to 60000 to get a clock that changes every minute.
         if (seconds == 0) {
	window.status = "New minute!";
	document.clock.face.value = "New minute!";
         }
        if (minutes == 0 && seconds == 0) {
	window.status = "New hour!";
	document.clock.face.value = "New hour!";
	
         }
        if (hours == 0 && minutes == 0 && seconds == 0) {
	window.status = "Midnight!";
	document.clock.face.value = "Midnight!";
         }

       else if (seconds > 0) {
	document.clock.face.value = timeValue;
	window.status = timeValue + "  The Xact time according to your computer clock!"  + date + " " + " "+ month + " " + year;

               }
This section checks if the e.g. second is 0. If it is, it displays "New Minute" on the statusbar, otherwise it displays the time! && means "AND". I also added the date functions. This I added myself. I had no idea I could program JavaScripts.