KIUNES
New member
Hy ich hab hier eine Uhr, die aber in ner Formbox angezeigt wird, aber ich brauch GENAU DIESE UHR nur mit Textausgabe, wer kann das mal eben umschreiben, ich mach immer fehler:
DANKE
HTML:
<div id="clock" style="position:absolute; left:430px; top:256px; width:42px; height:7px; z-index:80; visibility: visible;">
<script language="JavaScript">
<!--
var 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>
<center>
<form name="theClock">
<input type=text name="theTime" size=5 style="border:0px none; background-image:url('pictures/main/start.jpg'); font-family:Arial; font-size:10px; color:#FFFFFF">
</form>
</center>
</div>
DANKE