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년 전 조회 567
13년 전 조회 729
13년 전 조회 2,331
13년 전 조회 571
13년 전 조회 721
13년 전 조회 599
13년 전 조회 580
13년 전 조회 1,061
13년 전 조회 1,254
13년 전 조회 587
13년 전 조회 701
13년 전 조회 1,162
13년 전 조회 595
13년 전 조회 1,355
13년 전 조회 1,669
13년 전 조회 4,115
13년 전 조회 1,106
13년 전 조회 1,323
13년 전 조회 777
13년 전 조회 724
13년 전 조회 776
13년 전 조회 1,169
13년 전 조회 2,358
13년 전 조회 854
13년 전 조회 1,870
13년 전 조회 1,940
13년 전 조회 2,205
13년 전 조회 943
13년 전 조회 1,230
13년 전 조회 962
13년 전 조회 1,069
13년 전 조회 987
13년 전 조회 823
13년 전 조회 962
13년 전 조회 1,019
13년 전 조회 1,097
13년 전 조회 1,924
13년 전 조회 625
13년 전 조회 998
13년 전 조회 774
13년 전 조회 573
13년 전 조회 1,028
13년 전 조회 3,034
13년 전 조회 2,099
13년 전 조회 1,684
13년 전 조회 630
13년 전 조회 1,254
13년 전 조회 2,098
13년 전 조회 1,229
13년 전 조회 1,246
13년 전 조회 985
13년 전 조회 1,168
13년 전 조회 2,165
13년 전 조회 655
13년 전 조회 1,023
13년 전 조회 2,332
13년 전 조회 1,138
13년 전 조회 715
13년 전 조회 1,169
13년 전 조회 986
13년 전 조회 1,057
13년 전 조회 1,321
13년 전 조회 2,113
13년 전 조회 1,229
13년 전 조회 1,581
13년 전 조회 701
13년 전 조회 752
13년 전 조회 679
13년 전 조회 625
13년 전 조회 927
13년 전 조회 970
13년 전 조회 658
13년 전 조회 909
13년 전 조회 1,479
13년 전 조회 712
13년 전 조회 1,535
13년 전 조회 593
13년 전 조회 826
13년 전 조회 613
13년 전 조회 840
13년 전 조회 682
13년 전 조회 1,029
13년 전 조회 1,084
13년 전 조회 971
13년 전 조회 2,817
13년 전 조회 598
13년 전 조회 856
13년 전 조회 751
13년 전 조회 1,231
13년 전 조회 969
13년 전 조회 1,619
13년 전 조회 1,968
13년 전 조회 1,314
13년 전 조회 3,177
13년 전 조회 1,468
13년 전 조회 827
13년 전 조회 2,268
13년 전 조회 2,705
13년 전 조회 562
13년 전 조회 686