<Script language = JavaScript>
// Luxiaoqing
Phrase = "Welcome to xiaoai blog"
Balises = ""
Taille = 40;
Midx= 100;
Decal = 0.5;
NB = phrase. length;
Y =-10000;
For (x = 0; x <NB; X ++ ){
Balises = balises + '<Div id = l' + x + 'style = "width: 3; font-family: Courier New; font-weight: bold; position: absolute; top: 40; left: 50; Z-index: 0 "> '+ phrase. charat (x) + '</div>'
}
Document. Write (balises );
Time = Window. setinterval ("alors ()", 10 );
Alpha = 5;
I _alpha = 0.05;
Function alors (){
Alpha = Alpha-I_Alpha;
For (x = 0; x <NB; X ++ ){
Alpha1 = Alpha + decal * X;
Cosine = math. Cos (alpha1 );
Ob = Document. All ("L" + x );
Ob. style. posleft = midx + 100 * Math. Sin (alpha1) + 50;
Ob. style. zindex = 20 * cosine;
Ob. style. fontsize = taille + 25 * cosine;
OB. style. color = "RGB (" + (27 + cosine * 80 + 50) + "," + (127 + cosine * 80 + 50) + ", 0 )";
}
}
</SCRIPT>