also... hab jetzt mal versucht das irgendwie einzubinden (wahrscheinlich falsch...). was mache ich mit IMG_REFERENZ.parentNode?
Code:
<type="text/javascript">
<!--
verzoegerung = 3600;
bildNummer = 2;
var f = 3;
alert(window.f);
// hier werden die Bilder im Hintergrund geladen
for (i = 1; i <= 3; i++) {
bilder[i] = new Image();
bilder[i].src = "http://xyz.com/fileadmin/Inhalte/Logos/dp" + i + ".jpg";// Natürlich müssen jetzt in dem gleichen Ordner 3 Bilder mit den Namen dp1.gif bis dp3.gif liegen.
}
function naechstesBild() {
document.getElementById("animation") + id="animation"
animation++;
if (animation > 3) animation = 1;
}
// -->
</script>
<img src="http://xyz.com/fileadmin/Inhalte/Logos/dp1.jpg" name="animation" width="172" height="74" border="10" onLoad="setTimeout('naechstesBild()', verzoegerung)">
<a href="www.xyz.com">
Bitte um Hilfe
Lesezeichen