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년 전 조회 1,356
13년 전 조회 1,511
13년 전 조회 3,100
13년 전 조회 1,335
13년 전 조회 1,459
13년 전 조회 1,301
13년 전 조회 1,312
13년 전 조회 1,829
13년 전 조회 2,028
13년 전 조회 1,339
13년 전 조회 1,448
13년 전 조회 1,867
13년 전 조회 1,360
13년 전 조회 2,092
13년 전 조회 2,450
13년 전 조회 4,872
13년 전 조회 1,875
13년 전 조회 2,092
13년 전 조회 1,530
13년 전 조회 1,477
13년 전 조회 1,536
13년 전 조회 1,908
13년 전 조회 3,101
13년 전 조회 1,611
13년 전 조회 2,649
13년 전 조회 2,680
13년 전 조회 2,999
13년 전 조회 1,710
13년 전 조회 2,020
13년 전 조회 1,715
13년 전 조회 1,818
13년 전 조회 1,714
13년 전 조회 1,596
13년 전 조회 1,712
13년 전 조회 1,763
13년 전 조회 1,887
13년 전 조회 2,693
13년 전 조회 1,354
13년 전 조회 1,742
13년 전 조회 1,505
13년 전 조회 1,276
13년 전 조회 1,733
13년 전 조회 3,726
13년 전 조회 2,828
13년 전 조회 2,398
13년 전 조회 1,358
13년 전 조회 1,992
13년 전 조회 2,839
13년 전 조회 1,950
13년 전 조회 2,022
13년 전 조회 1,726
13년 전 조회 1,895
13년 전 조회 2,881
13년 전 조회 1,367
13년 전 조회 1,734
13년 전 조회 3,052
13년 전 조회 1,859
13년 전 조회 1,431
13년 전 조회 1,890
13년 전 조회 1,738
13년 전 조회 1,795
13년 전 조회 2,027
13년 전 조회 2,851
13년 전 조회 1,886
13년 전 조회 2,327
13년 전 조회 1,390
13년 전 조회 1,425
13년 전 조회 1,386
13년 전 조회 1,326
13년 전 조회 1,610
13년 전 조회 1,653
13년 전 조회 1,345
13년 전 조회 1,607
13년 전 조회 2,169
13년 전 조회 1,432
13년 전 조회 2,216
13년 전 조회 1,291
13년 전 조회 1,500
13년 전 조회 1,312
13년 전 조회 1,508
13년 전 조회 1,345
13년 전 조회 1,703
13년 전 조회 1,749
13년 전 조회 1,644
13년 전 조회 3,467
13년 전 조회 1,285
13년 전 조회 1,527
13년 전 조회 1,388
13년 전 조회 1,888
13년 전 조회 1,627
13년 전 조회 2,331
13년 전 조회 2,663
13년 전 조회 1,986
13년 전 조회 3,880
13년 전 조회 2,129
13년 전 조회 1,494
13년 전 조회 2,935
13년 전 조회 3,358
13년 전 조회 1,189
13년 전 조회 1,322