s

“ 플래시보고 만든 글자 타이핑 소스입니다. ”

<style>
 body{ font-family:Tahoma,굴림; font-size:9pt; }
</style>
<span name="textOutput" id="textOutput" style="display:none">안녕하세요.지피엠씨에서 만들어본거에요..;;http://gpmc.kr</span>
<script language="javascript">
tmp_su1 = "";
tmp_su2 = "";
tmp_su3 = "";
ts = "1";
tss = "0";
chks = "0";
str_msg="";
msg=document.getElementsByName('textOutput')[0].innerHTML;
function hangeul(su,string){
string = msg.substring(tss,ts);
 font_cho = Array('ㄱ', 'ㄲ', 'ㄴ', 'ㄷ', 'ㄸ', 'ㄹ', 'ㅁ', 'ㅂ', 'ㅃ', 'ㅅ', 'ㅆ', 'ㅇ', 'ㅈ', 'ㅉ', 'ㅊ', 'ㅋ','ㅌ', 'ㅍ', 'ㅎ' );
 font_jung = Array('ㅏ', 'ㅐ', 'ㅑ', 'ㅒ', 'ㅓ', 'ㅔ', 'ㅕ', 'ㅖ','ㅗ', 'ㅘ', 'ㅙ', 'ㅚ', 'ㅛ', 'ㅜ', 'ㅝ', 'ㅞ','ㅟ', 'ㅠ', 'ㅡ', 'ㅢ', 'ㅣ');
 font_jong = Array('  ', 'ㄱ', 'ㄲ', 'ㄳ', 'ㄴ', 'ㄵ', 'ㄶ', 'ㄷ','ㄹ', 'ㄺ', 'ㄻ', 'ㄼ', 'ㄽ', 'ㄾ', 'ㄿ', 'ㅀ','ㅁ', 'ㅂ', 'ㅄ', 'ㅅ', 'ㅆ', 'ㅇ', 'ㅈ', 'ㅊ','ㅋ', 'ㅌ', 'ㅍ', 'ㅎ' );
 msg_replace = Array('44','16','72','100','128' );
 CompleteCode = string.charCodeAt(0);
 UniCode = CompleteCode - 0xAC00;
 Jong = UniCode % 28;
 Jung = ( ( UniCode - Jong ) / 28 ) % 21;
 Cho = parseInt (( ( UniCode - Jong ) / 28 ) / 21);
if(!font_cho[Cho]){
  Cho_tmp = ' ';
} else {
  Cho_tmp = font_cho[Cho];
}
 Hangul1 = Cho_tmp.charCodeAt(0);
 Hangul2 = 0xAC00 + Cho * 21 * 28 + Jung * 28;
 Hangul3 = CompleteCode;
for(i = 0; i < msg_replace.length; i++){
 if(msg_replace[i] == Hangul2){
    Hangul2 = ' ';
 }
}
 tmp_su1 = Hangul1; tmp_su2 = Hangul2; tmp_su3 = Hangul3; str_msg = msg.substring(0,tss);
if(su == '1'){
document.all.korea1.innerHTML = str_msg+String.fromCharCode(Hangul1);
} else if(su == '2'){
document.all.korea1.innerHTML = str_msg+String.fromCharCode(Hangul2);
} else if(su == '3'){
document.all.korea1.innerHTML = str_msg+String.fromCharCode(Hangul3);
if(ts == msg.length){
ts = "0";
tss = "-1";
}
ts++;
tss++;
}
}
timmer = "";
function start(){timmer++;if(timmer == '2'){hangeul('1');} else if(timmer == '4'){hangeul('2');} else if(timmer == '6'){hangeul('3');timmer = "";}}
</script>
<span id="korea1" style="width:100%; height:10%;"></span></BR>
<script> setInterval("start();", 20); </script>
|

댓글 1개

댓글을 작성하시려면 로그인이 필요합니다.

프로그램

+
제목 글쓴이 날짜 조회
13년 전 조회 590
13년 전 조회 747
13년 전 조회 2,348
13년 전 조회 590
13년 전 조회 740
13년 전 조회 612
13년 전 조회 595
13년 전 조회 1,083
13년 전 조회 1,269
13년 전 조회 611
13년 전 조회 721
13년 전 조회 1,175
13년 전 조회 606
13년 전 조회 1,362
13년 전 조회 1,680
13년 전 조회 4,136
13년 전 조회 1,124
13년 전 조회 1,335
13년 전 조회 791
13년 전 조회 744
13년 전 조회 796
13년 전 조회 1,182
13년 전 조회 2,372
13년 전 조회 868
13년 전 조회 1,879
13년 전 조회 1,946
13년 전 조회 2,218
13년 전 조회 956
13년 전 조회 1,239
13년 전 조회 977
13년 전 조회 1,077
13년 전 조회 1,000
13년 전 조회 834
13년 전 조회 976
13년 전 조회 1,036
13년 전 조회 1,107
13년 전 조회 1,947
13년 전 조회 637
13년 전 조회 1,010
13년 전 조회 788
13년 전 조회 588
13년 전 조회 1,043
13년 전 조회 3,044
13년 전 조회 2,111
13년 전 조회 1,696
13년 전 조회 643
13년 전 조회 1,265
13년 전 조회 2,113
13년 전 조회 1,244
13년 전 조회 1,256
13년 전 조회 992
13년 전 조회 1,177
13년 전 조회 2,181
13년 전 조회 663
13년 전 조회 1,041
13년 전 조회 2,339
13년 전 조회 1,146
13년 전 조회 730
13년 전 조회 1,182
13년 전 조회 994
13년 전 조회 1,063
13년 전 조회 1,330
13년 전 조회 2,123
13년 전 조회 1,235
13년 전 조회 1,593
13년 전 조회 714
13년 전 조회 763
13년 전 조회 693
13년 전 조회 636
13년 전 조회 934
13년 전 조회 986
13년 전 조회 673
13년 전 조회 915
13년 전 조회 1,484
13년 전 조회 718
13년 전 조회 1,545
13년 전 조회 610
13년 전 조회 837
13년 전 조회 619
13년 전 조회 853
13년 전 조회 695
13년 전 조회 1,038
13년 전 조회 1,092
13년 전 조회 985
13년 전 조회 2,828
13년 전 조회 603
13년 전 조회 862
13년 전 조회 755
13년 전 조회 1,234
13년 전 조회 972
13년 전 조회 1,630
13년 전 조회 1,979
13년 전 조회 1,323
13년 전 조회 3,185
13년 전 조회 1,475
13년 전 조회 833
13년 전 조회 2,277
13년 전 조회 2,710
13년 전 조회 572
13년 전 조회 690