Hast recht, das war nen bug... aber funktionieren tut es immernoch nicht... :(
Hier nochmal der aktuelle Stand:
<HTML>
<HEAD>
<script type="text/JavaScript">
function randomise(uebergabe){
for(var zaehler=0;zaehler<=(uebergabe.length-1);zaehler++){
buchstabe=charAt(time);
farbcode=Math.ceil(Math.random() * 1000) % 3 + 1;
if (farbcode="1") {
farbe="#00AAFF";
}
if (farbcode="2") {
farbe="#00FFAA";
}
if (farbcode="3") {
farbe="#FFAA00";
}
ausgabestring+='<font color="'+farbe+'">'+buchstabe+'</font>';
}
alert(ausgabestring);
}
</script>
</head>
<body onload="JavaScript:randomise('hallo');">