Hi Micha,
der Code sieht trashig aus, ist viel zu aufgebläht (redundant) und damit fehleranfällig, d.h. allgem. kein guter Programmierstil.
Und was soll eigentlich das "<! --master1" bewirken? Entferne besser den Text nach <! -- aus der Zeile.
Gruß!
Danny
Hier eine Alternative:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<title>Big Brother Webcam</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
</head>
<body>
<img id="webcam" src="http://www.bigbrother.de/webcam/webcam1.jpg" width="125" height="94" name="visiongs1" alt="1">
<img id="webcam" src="http://www.bigbrother.de/webcam/webcam2.jpg" width="125" height="94" name="visiongs2" alt="2">
<img id="webcam" src="http://www.bigbrother.de/webcam/webcam3.jpg" width="125" height="94" name="visiongs3" alt="3">
<img id="webcam" src="http://www.bigbrother.de/webcam/webcam4.jpg" width="125" height="94" name="visiongs4" alt="4">
<script type="text/javascript">
<!--
var t = 30;
image = "http://www.bigbrother.de/webcam/webcam1.jpg";
function webcam()
{
tmp = new Date();
tmp = "?" + tmp.getTime();
name = "visiongs";
for (n=1; n<=4; n++)
{
document.images[name+n].src = image + tmp;
alert(document.images[name+n].src);
}
setTimeout("webcam()", t*1000);
}
webcam();
//-->
</script>
</body>
</html>