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,203
13년 전 조회 1,357
13년 전 조회 2,942
13년 전 조회 1,106
13년 전 조회 1,246
13년 전 조회 1,104
13년 전 조회 1,158
13년 전 조회 1,664
13년 전 조회 1,865
13년 전 조회 1,169
13년 전 조회 1,278
13년 전 조회 1,721
13년 전 조회 1,182
13년 전 조회 1,957
13년 전 조회 2,282
13년 전 조회 4,708
13년 전 조회 1,719
13년 전 조회 1,930
13년 전 조회 1,373
13년 전 조회 1,321
13년 전 조회 1,375
13년 전 조회 1,766
13년 전 조회 2,942
13년 전 조회 1,468
13년 전 조회 2,480
13년 전 조회 2,542
13년 전 조회 2,892
13년 전 조회 1,565
13년 전 조회 1,871
13년 전 조회 1,570
13년 전 조회 1,652
13년 전 조회 1,567
13년 전 조회 1,430
13년 전 조회 1,566
13년 전 조회 1,604
13년 전 조회 1,718
13년 전 조회 2,522
13년 전 조회 1,204
13년 전 조회 1,570
13년 전 조회 1,332
13년 전 조회 1,108
13년 전 조회 1,595
13년 전 조회 3,563
13년 전 조회 2,673
13년 전 조회 2,242
13년 전 조회 1,196
13년 전 조회 1,838
13년 전 조회 2,650
13년 전 조회 1,772
13년 전 조회 1,841
13년 전 조회 1,576
13년 전 조회 1,739
13년 전 조회 2,729
13년 전 조회 1,217
13년 전 조회 1,555
13년 전 조회 2,921
13년 전 조회 1,709
13년 전 조회 1,263
13년 전 조회 1,739
13년 전 조회 1,569
13년 전 조회 1,632
13년 전 조회 1,876
13년 전 조회 2,699
13년 전 조회 1,677
13년 전 조회 2,204
13년 전 조회 1,238
13년 전 조회 1,263
13년 전 조회 1,208
13년 전 조회 1,156
13년 전 조회 1,473
13년 전 조회 1,484
13년 전 조회 1,195
13년 전 조회 1,439
13년 전 조회 2,018
13년 전 조회 1,251
13년 전 조회 2,057
13년 전 조회 1,138
13년 전 조회 1,350
13년 전 조회 1,143
13년 전 조회 1,367
13년 전 조회 1,210
13년 전 조회 1,543
13년 전 조회 1,611
13년 전 조회 1,465
13년 전 조회 3,319
13년 전 조회 1,106
13년 전 조회 1,348
13년 전 조회 1,233
13년 전 조회 1,751
13년 전 조회 1,463
13년 전 조회 2,159
13년 전 조회 2,496
13년 전 조회 1,831
13년 전 조회 3,763
13년 전 조회 1,978
13년 전 조회 1,337
13년 전 조회 2,791
13년 전 조회 3,222
13년 전 조회 1,047
13년 전 조회 1,181