
Hab ein kleines Problem, dieser Code funktioniert im Firefox einwandfrei - aber im IE gibt er mir ein "document.just.src' ist Null oder kein Objekt" aus.
soweit ich sehe scheint doch dort alles zu passen:
<script type='text/javascript'>
var i=0;
function slide() {
if(i==0){
i++;
this.document.just.src ='../dbimg/b.jpg';
setTimeout('slide()','2000');
}else{
i--;
this.document.just.src ='../dbimg/bs.jpg';
setTimeout('slide()','2000');
}
}
</script>
</head><body onload='slide()'>
<image width='200' height='300' src='javascript:;' alt='test' id='just' />
hoffe ihr könnt mir helfen, danke schonmal

wie gesagt, im FF läufts problemlos.