영원한사랑

<SCRIPT>
var numLeft=10
var numTop=10

function load(){
if(event.keyCode==13){
numTop+=20
numLeft=-5
obj=document.all["text"]
obj[obj.length-1].innerHTML="<p>"
}
else{
numLeft+=15
source=box.innerHTML
source=source+"<span id='text' style='position:absolute;top:"+numTop+";left:"+numLeft+";font-size:100;font-weight:bold;'></span>"
box.innerHTML=source
obj=document.all["text"]
chr="&#"+event.keyCode
for(j=0;j<obj.length;j++){
if(obj[j].innerHTML==""){
typing(99,j,chr);
break;
}
}
}
}

function typing(b,i,c){
obj=document.all["text"]
if(b>15){obj[i].innerHTML="<div style='font-weight:bold;font-size:"+b+"'>"+c+"</div>"
b=b-1
setTimeout('typing('+b+','+i+',"'+c+'")',10)
}
}
</SCRIPT>
</HEAD>
<BODY onkeypress=load() id="box">
 
키보드를 눌러보세요.(영어, 엔터만)</font>
<span id="text" style="position:absolute;top:10;left:10;font-size:100;font-weight:bold;face:돋움;color=pink;"></span>