Indonesia
<!--Untuk mendapatkan efek ini, tambahkan kode berikut ke area <body>--> <script Language="JavaScript1.2"> var delay=2000 var scrollwidth=210 var scrollheight=75 var message=new Array( ) var openingtag='<font face="宋体" size=3 color=FF9900>' message[0]='<b>Selamat datang di Akademi Pembuatan Situs Web</b>' message[1]='<b>A jurusan Akademi Pembuatan Situs Web Situs web akademi pembuatan situs web</b>' pesan[2]='<b>Menyediakan artikel tentang produksi halaman webefek khusus halaman webteknologi pemrograman dan artikel lainnya</b>' var penutuptag= '</font>' var hoffset=-10 </b> skrip> <illayer width=&{ scrollwidth}; tinggi=&{ scrollheight}; name='sslide'> <nama lapisan='sslide2' lebar=&{ scrollwidth}; tinggi=&{ scrollheight};></layer> </ilayer> <script bahasa="JavaScript1.2"> var inc=1 var ns4=document.layers var ie5ns6=document.getElementById||document.all if (ie5ns6) document.write(openingtag+'<div id=" flyin" style="position:relative;width:'+scrollwidth+';height:'+scrollheight+';">'+message[0]+'</ div>'+tag penutup) fungsi updatemsg(){ crossobj.style kiri=-2000 crossobj.style.fontStyle="italic" crossobj.innerHTML=pesan[inc] crossobj.style.left=crossobj.offsetWidth*(-1) +hoffset start=setInterval("animatein()",50) inc =(inc<message.length-1)? inc+1 : 0 } fungsi animatein(){ if (parseInt(crossobj.style.left)<0) crossobj.style.left=parseInt(crossobj.style.left)+ 20 lainnya{ crossobj.style.left=0 crossobj.style.fontStyle="normal" clearInterval(start) } } fungsi updatemsgns4(){ document.sslide.document .sslide2.document.write(openingtag+message[inc]+closingtag ) document.sslide.document.sslide2.document.close() inc=(inc<message.length-1)? ){ if (ie5ns6){ crossobj=document.getElementById? document.getElementById("flyin") : document.all.flyin setInterval("updatemsg()",delay+1000) } else if (ns4){ document.sslide. document.sslide2.document.write(openingtag+message[0]+closingtag) document.sslide.document.sslide2.document.close() setInterval("updatemsgns4()",delay) } } window.onload=inisialisasi </script >