hi,
Ich habe das jetzt mit einem Array probiert.
_So_ war es nicht gemeint.
var a = new Array("Prozent20", "Prozent30", "Prozent40", "Prozent50", "Prozent60", "Prozent70", "Prozent80", "Prozent90", "Prozent100");
Du sollst nicht die Namen deiner Variablen in einem Array speichern -
sondern diese Werte:
Prozent20 = new Image();
Prozent20.src = "bild_copy20.png";Prozent30 = new Image();
Prozent30.src = "bild_copy30.png";
...
- anstatt die durchnummerierten Variablennamen zu verwenden.
gruß,
wahsaga
--
/voodoo.css:
#GeorgeWBush { position:absolute; bottom:-6ft; }
/voodoo.css:
#GeorgeWBush { position:absolute; bottom:-6ft; }