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,290
13년 전 조회 1,437
13년 전 조회 3,023
13년 전 조회 1,207
13년 전 조회 1,343
13년 전 조회 1,205
13년 전 조회 1,245
13년 전 조회 1,748
13년 전 조회 1,945
13년 전 조회 1,257
13년 전 조회 1,355
13년 전 조회 1,804
13년 전 조회 1,271
13년 전 조회 2,032
13년 전 조회 2,373
13년 전 조회 4,796
13년 전 조회 1,798
13년 전 조회 2,016
13년 전 조회 1,461
13년 전 조회 1,400
13년 전 조회 1,449
13년 전 조회 1,836
13년 전 조회 3,019
13년 전 조회 1,542
13년 전 조회 2,570
13년 전 조회 2,609
13년 전 조회 2,932
13년 전 조회 1,642
13년 전 조회 1,963
13년 전 조회 1,648
13년 전 조회 1,736
13년 전 조회 1,647
13년 전 조회 1,514
13년 전 조회 1,643
13년 전 조회 1,680
13년 전 조회 1,800
13년 전 조회 2,607
13년 전 조회 1,285
13년 전 조회 1,667
13년 전 조회 1,430
13년 전 조회 1,205
13년 전 조회 1,672
13년 전 조회 3,657
13년 전 조회 2,759
13년 전 조회 2,323
13년 전 조회 1,280
13년 전 조회 1,916
13년 전 조회 2,754
13년 전 조회 1,872
13년 전 조회 1,935
13년 전 조회 1,651
13년 전 조회 1,826
13년 전 조회 2,807
13년 전 조회 1,296
13년 전 조회 1,640
13년 전 조회 2,986
13년 전 조회 1,790
13년 전 조회 1,353
13년 전 조회 1,824
13년 전 조회 1,652
13년 전 조회 1,708
13년 전 조회 1,952
13년 전 조회 2,768
13년 전 조회 1,762
13년 전 조회 2,249
13년 전 조회 1,314
13년 전 조회 1,352
13년 전 조회 1,303
13년 전 조회 1,236
13년 전 조회 1,558
13년 전 조회 1,559
13년 전 조회 1,264
13년 전 조회 1,534
13년 전 조회 2,089
13년 전 조회 1,346
13년 전 조회 2,142
13년 전 조회 1,209
13년 전 조회 1,430
13년 전 조회 1,228
13년 전 조회 1,441
13년 전 조회 1,283
13년 전 조회 1,621
13년 전 조회 1,677
13년 전 조회 1,553
13년 전 조회 3,390
13년 전 조회 1,186
13년 전 조회 1,433
13년 전 조회 1,303
13년 전 조회 1,833
13년 전 조회 1,547
13년 전 조회 2,249
13년 전 조회 2,582
13년 전 조회 1,913
13년 전 조회 3,813
13년 전 조회 2,051
13년 전 조회 1,412
13년 전 조회 2,875
13년 전 조회 3,298
13년 전 조회 1,119
13년 전 조회 1,262