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년 전 조회 525
13년 전 조회 676
13년 전 조회 2,291
13년 전 조회 536
13년 전 조회 681
13년 전 조회 551
13년 전 조회 539
13년 전 조회 1,020
13년 전 조회 1,204
13년 전 조회 548
13년 전 조회 667
13년 전 조회 1,105
13년 전 조회 550
13년 전 조회 1,311
13년 전 조회 1,626
13년 전 조회 4,073
13년 전 조회 1,068
13년 전 조회 1,276
13년 전 조회 739
13년 전 조회 686
13년 전 조회 749
13년 전 조회 1,127
13년 전 조회 2,314
13년 전 조회 813
13년 전 조회 1,820
13년 전 조회 1,909
13년 전 조회 2,165
13년 전 조회 899
13년 전 조회 1,188
13년 전 조회 914
13년 전 조회 1,029
13년 전 조회 940
13년 전 조회 791
13년 전 조회 922
13년 전 조회 982
13년 전 조회 1,064
13년 전 조회 1,891
13년 전 조회 587
13년 전 조회 964
13년 전 조회 732
13년 전 조회 536
13년 전 조회 996
13년 전 조회 2,997
13년 전 조회 2,059
13년 전 조회 1,642
13년 전 조회 579
13년 전 조회 1,216
13년 전 조회 2,060
13년 전 조회 1,193
13년 전 조회 1,208
13년 전 조회 951
13년 전 조회 1,140
13년 전 조회 2,127
13년 전 조회 620
13년 전 조회 987
13년 전 조회 2,284
13년 전 조회 1,103
13년 전 조회 675
13년 전 조회 1,123
13년 전 조회 945
13년 전 조회 1,009
13년 전 조회 1,268
13년 전 조회 2,072
13년 전 조회 1,199
13년 전 조회 1,547
13년 전 조회 656
13년 전 조회 704
13년 전 조회 641
13년 전 조회 586
13년 전 조회 882
13년 전 조회 930
13년 전 조회 620
13년 전 조회 868
13년 전 조회 1,442
13년 전 조회 678
13년 전 조회 1,491
13년 전 조회 545
13년 전 조회 791
13년 전 조회 576
13년 전 조회 795
13년 전 조회 650
13년 전 조회 989
13년 전 조회 1,040
13년 전 조회 936
13년 전 조회 2,776
13년 전 조회 565
13년 전 조회 818
13년 전 조회 715
13년 전 조회 1,190
13년 전 조회 937
13년 전 조회 1,579
13년 전 조회 1,924
13년 전 조회 1,277
13년 전 조회 3,139
13년 전 조회 1,423
13년 전 조회 789
13년 전 조회 2,230
13년 전 조회 2,670
13년 전 조회 531
13년 전 조회 648