http://oxtag.com/html/ex/ex1.html

<!------- 3차원으로 돌아가는 텍스트 소스 시작 --------->
<script language="JavaScript">

Phrase="태그피아로가자!"

Balises=""

Taille=40;

Midx=250;

Decal=0.5;

Nb=Phrase.length;

y=-10000;

for (x=0;x<Nb;x++) {

Balises=Balises + '<DIV Id=L' + x + ' STYLE="position:absolute;top:20;left:0;font-family:돋움;font-weight:bold;z-index:0;width:100">' + 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+170*Math.sin(Alpha1)+50;

Ob.style.zIndex=20*Cosine;

Ob.style.fontSize=Taille+25*Cosine;

Ob.style.color="rgb("+ (127+Cosine*80+50) + ","+ (127+Cosine*80+50) + ",0)";

}

}

</script>

Posted by 알 수 없는 사용자
,