한국어
<!--<body> 영역에 다음 코드를 입력하세요--> <script 언어="JavaScript"> <!-- Begin text = "Welcome--Website Building Academy" color1 = "000000" //Text color color2 = "red"; //변환된 색상fontsize = "2"; //글꼴 크기 속도 = 100; //변환 속도(1000 = 1초) i = 0; { document.write("<layer id=a visible=show></layer><br><br><br>") } else { document.write("<div id=a></div >" ); } functionchangeCharColor() { if (navigator.appName == "Netscape") { document.a.document.write("<fontface=arial size =" +fontsize + "><font color=" + color1 + ">"); for (var j = 0; j < text.length; j++) { if(j == i) { document.a.document.write("<fontface=arial color=" + color2 + " >" + Text.charAt(i) + "</font>"); } else { document.a.document.write(text.charAt(j)); } } document.a.document.write(' </ 글꼴></font>'); document.a.document.close() } if (navigator.appName == "Microsoft Internet Explorer") { str = "<fontface=arial size=" +fontsize + "> <font color=" + color1 + ">"; for (var j = 0; j < text.length; j++) { if( j == i) { str += "<fontface=arial color=" + color2 + ">" + text.charAt(i) + "</font>"; } else { str += text.charAt(j) } } str += "</font></font>"; innerHTML = str; } (i == text.length) ? i=0 : i++ } setInterval("changeCharColor()", speed);