Hallo Armin,
<script LANGUAGE="JAVASCRIPT">
hier fehlt type="text/javascript"
<!--
var maxtime=59;
...
var maxtime =maxtime - 1;
hier wird ein neues maxtime angelegt, das mit dem oben nichts zu tun hat.
...
counter = counter - 1; setTimeout("timer()",1000);
willst Du wirklich im Sekundentakt zählen?
...
Irgendwie verstehe ich nicht, was das alles soll. Folgendes Script zählt einfach im Sekundentakt runter und zeigt die Minuten an:
<html>
<head>
<script type="text/javascript">
<!--
var counter=3502;
function timer() {
counter--;
document.getElementById("Countdown").firstChild.data=parseInt(counter/60);
if (counter != 0) {
setTimeout("timer()",1000);
}
}
//-->
</script>
</head>
<body onload="timer()" bgcolor="#FFFFFF">
Sie sind noch <b id="Countdown">5200</b> Minuten eingelogt.
</body>
</html>
Gruß, Jürgen