Har forsøgt at lave det med en celle, men det kan vist ikke lade sig gøre.
<HTML>
<HEAD>
<TITLE>Ur</TITLE>
<STYLE type=\"text/css\">
.input {
font-family: Verdana;
font-size: 8pt;
background-color:white;
border-bottom: 0px;
border-left: 0px;
border-right: 0px;
border-top: 0px;
color:#000000;
}
</STYLE>
</HEAD>
<BODY>
<script language=\"JavaScript\">
<!--
// please keep these lines on when you copy the source
// made by: Nicolas -
http://www.javascript-page.comvar clockID = 0;
function UpdateClock() {
if(clockID) {
clearTimeout(clockID);
clockID = 0;
}
var tDate = new Date();
document.theClock.theTime.value = \"\"
+ tDate.getHours() + \":\"
+ tDate.getMinutes() + \":\"
+ tDate.getSeconds();
clockID = setTimeout(\"UpdateClock()\", 1000);
}
function StartClock() {
clockID = setTimeout(\"UpdateClock()\", 500);
}
function KillClock() {
if(clockID) {
clearTimeout(clockID);
clockID = 0;
}
}
//-->
</script>
<body onload=\"StartClock()\" onunload=\"KillClock()\">
<center><form name=\"theClock\">
<input type=text name=\"theTime\" size=8 class=\"input\">
<form></center>
</BODY>
</HTML>