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,698
13년 전 조회 1,824
13년 전 조회 3,408
13년 전 조회 1,513
13년 전 조회 1,645
13년 전 조회 1,479
13년 전 조회 1,616
13년 전 조회 2,120
13년 전 조회 2,313
13년 전 조회 1,635
13년 전 조회 1,751
13년 전 조회 2,178
13년 전 조회 1,649
13년 전 조회 2,385
13년 전 조회 2,742
13년 전 조회 5,151
13년 전 조회 2,140
13년 전 조회 2,386
13년 전 조회 1,832
13년 전 조회 1,796
13년 전 조회 1,821
13년 전 조회 2,211
13년 전 조회 3,418
13년 전 조회 1,893
13년 전 조회 2,925
13년 전 조회 2,967
13년 전 조회 3,282
13년 전 조회 1,984
13년 전 조회 2,300
13년 전 조회 1,999
13년 전 조회 2,102
13년 전 조회 2,008
13년 전 조회 1,886
13년 전 조회 1,985
13년 전 조회 2,061
13년 전 조회 2,145
13년 전 조회 2,959
13년 전 조회 1,650
13년 전 조회 2,018
13년 전 조회 1,805
13년 전 조회 1,580
13년 전 조회 2,019
13년 전 조회 4,028
13년 전 조회 3,103
13년 전 조회 2,687
13년 전 조회 1,661
13년 전 조회 2,275
13년 전 조회 3,139
13년 전 조회 2,237
13년 전 조회 2,291
13년 전 조회 2,010
13년 전 조회 2,168
13년 전 조회 3,192
13년 전 조회 1,692
13년 전 조회 2,029
13년 전 조회 3,346
13년 전 조회 2,138
13년 전 조회 1,725
13년 전 조회 2,213
13년 전 조회 2,030
13년 전 조회 2,047
13년 전 조회 2,345
13년 전 조회 3,146
13년 전 조회 2,065
13년 전 조회 2,620
13년 전 조회 1,722
13년 전 조회 1,742
13년 전 조회 1,680
13년 전 조회 1,641
13년 전 조회 1,929
13년 전 조회 1,993
13년 전 조회 1,676
13년 전 조회 1,940
13년 전 조회 2,493
13년 전 조회 1,746
13년 전 조회 2,524
13년 전 조회 1,604
13년 전 조회 1,807
13년 전 조회 1,614
13년 전 조회 1,836
13년 전 조회 1,677
13년 전 조회 2,001
13년 전 조회 2,050
13년 전 조회 1,954
13년 전 조회 3,771
13년 전 조회 1,573
13년 전 조회 1,814
13년 전 조회 1,685
13년 전 조회 2,181
13년 전 조회 1,923
13년 전 조회 2,580
13년 전 조회 2,921
13년 전 조회 2,249
13년 전 조회 4,167
13년 전 조회 2,425
13년 전 조회 1,767
13년 전 조회 3,238
13년 전 조회 3,636
13년 전 조회 1,492
13년 전 조회 1,620