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년 전 조회 427
13년 전 조회 589
13년 전 조회 2,194
13년 전 조회 441
13년 전 조회 585
13년 전 조회 448
13년 전 조회 454
13년 전 조회 922
13년 전 조회 1,107
13년 전 조회 461
13년 전 조회 566
13년 전 조회 1,008
13년 전 조회 453
13년 전 조회 1,215
13년 전 조회 1,538
13년 전 조회 3,979
13년 전 조회 966
13년 전 조회 1,178
13년 전 조회 652
13년 전 조회 579
13년 전 조회 654
13년 전 조회 1,020
13년 전 조회 2,226
13년 전 조회 714
13년 전 조회 1,727
13년 전 조회 1,810
13년 전 조회 2,058
13년 전 조회 811
13년 전 조회 1,088
13년 전 조회 815
13년 전 조회 931
13년 전 조회 852
13년 전 조회 697
13년 전 조회 820
13년 전 조회 891
13년 전 조회 977
13년 전 조회 1,778
13년 전 조회 486
13년 전 조회 861
13년 전 조회 625
13년 전 조회 426
13년 전 조회 883
13년 전 조회 2,893
13년 전 조회 1,961
13년 전 조회 1,538
13년 전 조회 490
13년 전 조회 1,121
13년 전 조회 1,957
13년 전 조회 1,097
13년 전 조회 1,122
13년 전 조회 843
13년 전 조회 1,041
13년 전 조회 2,031
13년 전 조회 526
13년 전 조회 897
13년 전 조회 2,188
13년 전 조회 1,012
13년 전 조회 576
13년 전 조회 1,019
13년 전 조회 847
13년 전 조회 912
13년 전 조회 1,177
13년 전 조회 1,971
13년 전 조회 1,093
13년 전 조회 1,451
13년 전 조회 558
13년 전 조회 605
13년 전 조회 537
13년 전 조회 487
13년 전 조회 778
13년 전 조회 827
13년 전 조회 514
13년 전 조회 766
13년 전 조회 1,349
13년 전 조회 573
13년 전 조회 1,395
13년 전 조회 458
13년 전 조회 694
13년 전 조회 469
13년 전 조회 700
13년 전 조회 560
13년 전 조회 897
13년 전 조회 944
13년 전 조회 835
13년 전 조회 2,677
13년 전 조회 456
13년 전 조회 715
13년 전 조회 625
13년 전 조회 1,100
13년 전 조회 844
13년 전 조회 1,478
13년 전 조회 1,835
13년 전 조회 1,172
13년 전 조회 3,052
13년 전 조회 1,323
13년 전 조회 699
13년 전 조회 2,134
13년 전 조회 2,578
13년 전 조회 429
13년 전 조회 553
🐛 버그신고