hab den fehler entdeckt
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<title>Untitled Document</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<script type="text/javascript">
function Lauflicht(pos)
{
if(document.Formular.direction.checked == "")
{
newpos = (pos +1) % 10;
}
else
{
newpos = (10 + ( (pos -1) % 10)) % 10;
}
document.Formular.elements[newpos].checked="checked";
window.setTimeout("Lauflicht(newpos)", document.Formular.speed.value);
}
</script>
</head>
<body onload="Lauflicht(0)">
<form name="Formular" action="" method="get">
<input type="radio" name="Favoriten" value="A" checked="checked">
<input type="radio" name="Favoriten" value="B" checked="">
<input type="radio" name="Favoriten" value="C" checked="">
<input type="radio" name="Favoriten" value="D" checked="">
<input type="radio" name="Favoriten" value="E" checked="">
<input type="radio" name="Favoriten" value="F" checked="">
<input type="radio" name="Favoriten" value="G" checked="">
<input type="radio" name="Favoriten" value="H" checked="">
<input type="radio" name="Favoriten" value="I" checked="">
<input type="radio" name="Favoriten" value="J" checked="">
<input type="checkbox" name="direction" checked="">Rückwärts<br>
<select name="speed">
<option value="500">5 sekunden</option>
<option value="1000">10 sekunden</option>
<option value="2000">20 sekunden</option>
</select>
</form>
</body>
</html>
jetzt läuft es