plan_B: Bildwechsel-Funktion hilfreich

Beitrag lesen

Hallo,

also von mir gibt's für beide Varianten Punktabzug, weil ihr nicht abfragt,
ob dieses Element exisitiert:

  
  var bild = document.getElementById(id);  

hilfreich wäre noch ein:

if (!bild) alert("img existiert nicht - id: "+id);

Gruß plan_B

--
     *®*´¯`·.¸¸.·