Javascript--------旋转的文字
<div id="Layer2" style="position:absolute; width:21px; height:20px; z-index:3; left: 8px; top: 191px" margin=0 0>
<script language=javascript>
//luxiaoqing
Phrase="输入文字"
Balises=""
Taille=40;
Midx=20;
Decal=0.9;
Nb=Phrase.length;
y=-10000;
for (x=0;x<Nb;x++){
Balises=Balises + '<DIV Id=L' + x + ' STYLE="width:3;font-size:5pt;font-weight:bold;position:absolute;top:40;left:30;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+70*Math.sin(Alpha1)+50;
Ob.style.zIndex=20*Cosine;
Ob.style.fontSize=Taille+15*Cosine;
Ob.style.color="#CC0001";
}
}
</script>
</div>