<script>
farbbibliothek = new Array();
farbbibliothek[0] = new Array("#AFEEEE","#A4EFEF","#95EFEF","#86EFEF","#77EFEF","#68EFEF","#59EEEF","#4AEEEF","#3BEEEF","#2CEEEF","#1DEEEF","#0EEEEF","#00EEEF","#00DEDF","#00CECF","#00BEBF","#00AEAF","#009E9F","#008F8F","#007F7F","#008F8F","#009E9F","#00AEAF","#00BEBF","#00CECF","#00DEDF","#00EEEF","#0EEEEF","#1DEEEF","#2CEEEF","#3BEEEF","#4AEEEF","#59EEEF","#68EFEF","#77EFEF","#86EFEF","#95EFEF","#A4EFEF");
farbbibliothek[1] = new Array("#AFEEEE","#A4EFEF","#95EFEF","#86EFEF","#77EFEF","#68EFEF","#59EEEF","#4AEEEF","#3BEEEF","#2CEEEF","#1DEEEF","#0EEEEF","#00EEEF","#00DEDF","#00CECF","#00BEBF","#00AEAF","#009E9F","#008F8F","#007F7F","#008F8F","#009E9F","#00AEAF","#00BEBF","#00CECF","#00DEDF","#00EEEF","#0EEEEF","#1DEEEF","#2CEEEF","#3BEEEF","#4AEEEF","#59EEEF","#68EFEF","#77EFEF","#86EFEF","#95EFEF","#A4EFEF");
farbbibliothek[2] = new Array("#AFEEEE","#A4EFEF","#95EFEF","#86EFEF","#77EFEF","#68EFEF","#59EEEF","#4AEEEF","#3BEEEF","#2CEEEF","#1DEEEF","#0EEEEF","#00EEEF","#00DEDF","#00CECF","#00BEBF","#00AEAF","#009E9F","#008F8F","#007F7F","#008F8F","#009E9F","#00AEAF","#00BEBF","#00CECF","#00DEDF","#00EEEF","#0EEEEF","#1DEEEF","#2CEEEF","#3BEEEF","#4AEEEF","#59EEEF","#68EFEF","#77EFEF","#86EFEF","#95EFEF","#A4EFEF");
farbbibliothek[3] = new Array("#AFEEEE","#A4EFEF","#95EFEF","#86EFEF","#77EFEF","#68EFEF","#59EEEF","#4AEEEF","#3BEEEF","#2CEEEF","#1DEEEF","#0EEEEF","#00EEEF","#00DEDF","#00CECF","#00BEBF","#00AEAF","#009E9F","#008F8F","#007F7F","#008F8F","#009E9F","#00AEAF","#00BEBF","#00CECF","#00DEDF","#00EEEF","#0EEEEF","#1DEEEF","#2CEEEF","#3BEEEF","#4AEEEF","#59EEEF","#68EFEF","#77EFEF","#86EFEF","#95EFEF","#A4EFEF");
farbbibliothek[4] = new Array("#AFEEEE","#A4EFEF","#95EFEF","#86EFEF","#77EFEF","#68EFEF","#59EEEF","#4AEEEF","#3BEEEF","#2CEEEF","#1DEEEF","#0EEEEF","#00EEEF","#00DEDF","#00CECF","#00BEBF","#00AEAF","#009E9F","#008F8F","#007F7F","#008F8F","#009E9F","#00AEAF","#00BEBF","#00CECF","#00DEDF","#00EEEF","#0EEEEF","#1DEEEF","#2CEEEF","#3BEEEF","#4AEEEF","#59EEEF","#68EFEF","#77EFEF","#86EFEF","#95EFEF","#A4EFEF");
farbbibliothek[5] = new Array("#AFEEEE","#A4EFEF","#95EFEF","#86EFEF","#77EFEF","#68EFEF","#59EEEF","#4AEEEF","#3BEEEF","#2CEEEF","#1DEEEF","#0EEEEF","#00EEEF","#00DEDF","#00CECF","#00BEBF","#00AEAF","#009E9F","#008F8F","#007F7F","#008F8F","#009E9F","#00AEAF","#00BEBF","#00CECF","#00DEDF","#00EEEF","#0EEEEF","#1DEEEF","#2CEEEF","#3BEEEF","#4AEEEF","#59EEEF","#68EFEF","#77EFEF","#86EFEF","#95EFEF","#A4EFEF");
farbbibliothek[6] = new Array("#AFEEEE","#A4EFEF","#95EFEF","#86EFEF","#77EFEF","#68EFEF","#59EEEF","#4AEEEF","#3BEEEF","#2CEEEF","#1DEEEF","#0EEEEF","#00EEEF","#00DEDF","#00CECF","#00BEBF","#00AEAF","#009E9F","#008F8F","#007F7F","#008F8F","#009E9F","#00AEAF","#00BEBF","#00CECF","#00DEDF","#00EEEF","#0EEEEF","#1DEEEF","#2CEEEF","#3BEEEF","#4AEEEF","#59EEEF","#68EFEF","#77EFEF","#86EFEF","#95EFEF","#A4EFEF");
/*
0 - Rot-Gelb-Ãœbergang -Standard
1 - Matrix-Effekt
2 - Scanner
3 - Regenbogendurchgang
4 - Rot-Schwarz-Durchgang
5 - Zebra
6 - Gelb-Blau-Stroboskop
*/
farben = farbbibliothek[0]; // Wecher Farbsatz soll genommen werden
function farbschrift()
{
for(var i=0 ; i<Buchstabe.length; i++)
{
document.all["a"+i].style.color=farben[i];
}
farbverlauf();
}
function string2array(text)
{
Buchstabe = new Array();
while(farben.length<text.length)
{
farben = farben.concat(farben);
}
k=0;
while(k<=text.length)
{
Buchstabe[k] = text.charAt(k);
k++;
}
}
function divserzeugen()
{
for(var i=0 ; i<Buchstabe.length; i++)
{
document.write("<span id='a"+i+"' class='a"+i+"'>"+Buchstabe[i] + "</span>");
}
farbschrift();
}
var a=1;
function farbverlauf()
{
for(var i=0 ; i<farben.length; i++)
{
farben[i-1]=farben[i];
}
farben[farben.length-1]=farben[-1];
setTimeout("farbschrift()",50);
}
// Zu Demonstrationszwecken*****************
var farbsatz=1;
function farbtauscher()
{
farben = farbbibliothek[farbsatz];
while(farben.length<text.length)
{
farben = farben.concat(farben);
}
farbsatz=Math.floor(Math.random()*(farbbibliothek.length-0.0001));
}
setInterval("farbtauscher()",8000);
//*******************************************
</script>
</head>
<body text=white>
<p>
<center>
<p style="font-size: 20pt;">
<script>
text= "Test..."; //Der darzustellende Text
string2array(text);
divserzeugen();
</script>
</a>
</p>