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년 전 조회 633
13년 전 조회 787
13년 전 조회 2,395
13년 전 조회 640
13년 전 조회 779
13년 전 조회 646
13년 전 조회 636
13년 전 조회 1,118
13년 전 조회 1,313
13년 전 조회 656
13년 전 조회 758
13년 전 조회 1,212
13년 전 조회 641
13년 전 조회 1,408
13년 전 조회 1,729
13년 전 조회 4,180
13년 전 조회 1,164
13년 전 조회 1,389
13년 전 조회 820
13년 전 조회 786
13년 전 조회 843
13년 전 조회 1,219
13년 전 조회 2,411
13년 전 조회 915
13년 전 조회 1,916
13년 전 조회 2,001
13년 전 조회 2,281
13년 전 조회 1,001
13년 전 조회 1,277
13년 전 조회 1,025
13년 전 조회 1,123
13년 전 조회 1,051
13년 전 조회 877
13년 전 조회 1,024
13년 전 조회 1,072
13년 전 조회 1,145
13년 전 조회 1,997
13년 전 조회 674
13년 전 조회 1,043
13년 전 조회 815
13년 전 조회 611
13년 전 조회 1,094
13년 전 조회 3,079
13년 전 조회 2,150
13년 전 조회 1,723
13년 전 조회 669
13년 전 조회 1,287
13년 전 조회 2,148
13년 전 조회 1,275
13년 전 조회 1,298
13년 전 조회 1,020
13년 전 조회 1,211
13년 전 조회 2,221
13년 전 조회 687
13년 전 조회 1,071
13년 전 조회 2,373
13년 전 조회 1,182
13년 전 조회 758
13년 전 조회 1,227
13년 전 조회 1,029
13년 전 조회 1,095
13년 전 조회 1,348
13년 전 조회 2,162
13년 전 조회 1,259
13년 전 조회 1,644
13년 전 조회 742
13년 전 조회 786
13년 전 조회 710
13년 전 조회 649
13년 전 조회 951
13년 전 조회 1,016
13년 전 조회 693
13년 전 조회 928
13년 전 조회 1,498
13년 전 조회 732
13년 전 조회 1,569
13년 전 조회 627
13년 전 조회 850
13년 전 조회 639
13년 전 조회 879
13년 전 조회 722
13년 전 조회 1,052
13년 전 조회 1,108
13년 전 조회 1,006
13년 전 조회 2,851
13년 전 조회 614
13년 전 조회 875
13년 전 조회 775
13년 전 조회 1,255
13년 전 조회 987
13년 전 조회 1,652
13년 전 조회 1,999
13년 전 조회 1,351
13년 전 조회 3,216
13년 전 조회 1,496
13년 전 조회 861
13년 전 조회 2,304
13년 전 조회 2,739
13년 전 조회 597
13년 전 조회 710