글자가 플래쉬처럼 색상이 바뀌는 소스
<body>
<script>
function initArray(){this.length = initArray.arguments.length;for (var i = 0; i < this.length; i++) {this[i] = initArray.arguments[i]; }}
var ctext = "<b><h3>☆실내디자인인테리어뱅크</b></h>";
var speed = 1000;
var x = 0;
var color = new initArray("red","yellow","orange","green","blue","steelblue","purple");if(navigator.appName == "Netscape") {
document.write('<layer id="c"><center>'+ctext+'</center></layer><br>');}if (navigator.appVersion.indexOf("MSIE") != -1){
document.write('<div id="c"><center>'+ctext+'</center></div>');}function chcolor(){ if(navigator.appName == "Netscape") {
document.c.document.write('<center><font color="'+color[x]);
document.c.document.write('">'+ctext+'</font></center>');
document.c.document.close();}else if (navigator.appVersion.indexOf("MSIE") != -1){
document.all.c.style.color = color[x];}(x < color.length-1) ? x++ : x = 0;}setInterval("chcolor()",1000);
</script>
</body>
<script>
function initArray(){this.length = initArray.arguments.length;for (var i = 0; i < this.length; i++) {this[i] = initArray.arguments[i]; }}
var ctext = "<b><h3>☆실내디자인인테리어뱅크</b></h>";
var speed = 1000;
var x = 0;
var color = new initArray("red","yellow","orange","green","blue","steelblue","purple");if(navigator.appName == "Netscape") {
document.write('<layer id="c"><center>'+ctext+'</center></layer><br>');}if (navigator.appVersion.indexOf("MSIE") != -1){
document.write('<div id="c"><center>'+ctext+'</center></div>');}function chcolor(){ if(navigator.appName == "Netscape") {
document.c.document.write('<center><font color="'+color[x]);
document.c.document.write('">'+ctext+'</font></center>');
document.c.document.close();}else if (navigator.appVersion.indexOf("MSIE") != -1){
document.all.c.style.color = color[x];}(x < color.length-1) ? x++ : x = 0;}setInterval("chcolor()",1000);
</script>
</body>