Indonesia
<!--Masukkan kode berikut ke dalam area <body>--> <script bahasa="JavaScript"> <!-- Begin text = "Selamat datang--Website Building Academy"; warna warna2 = "merah"; //Ukuran font warna yang dikonversi = "2"; //Kecepatan ukuran font = 100; //Kecepatan konversi (1000 = 1 detik) i = 0; { document.write("<layer id=a visibilitas=show></layer><br><br><br>"); else { document.write("<div id=a></div >" ); } fungsi changeCharColor() { if (navigator.appName == "Netscape") { document.a.document.write("<font face=arial size =" + ukuran font + "><font color=" + color1 + ">"); for (var j = 0; j < teks.panjang; j++) { if(j == i) { dokumen.a.document.write("<font face=arial color=" + color2 + " >" + Teks.charAt(i) + "</font>"); } else { dokumen.a.document.write(text.charAt(j)); } } document.a.document.write(' </ font></font>'); dokumen.a.document.close(); } if (navigator.appName == "Microsoft Internet Explorer") { str = "<font face=arial size=" + ukuran font + "> <font color=" + color1 + ">"; for (var j = 0; j < text.length; j++) { if( j == i) { str += "<font face=arial color=" + color2 + ">" + teks.charAt(i) + "</font>"; } else { str += teks.charAt(j) } str += "</font></font>"; innerHTML = str; } (i == teks.panjang) ? i=0 : i++; } setInterval("changeCharColor()", kecepatan);