Indonesia
<!-- http://www.downcodes.com --> <!-- bbs http://bbs.downcodes.com --> <!--把下面的代码加到<BODY>区域中-- > <tubuh BGCOLOR=#000000> <skrip bahasa="JavaScript"> if (dokumen.semua){ xL=5; xH=0; xW=0; xR=0; xE=0; xMY=0; xMX=0; xWd=0; xHd=0; xF=Array baru(); xY=Array baru(); xX=Array baru(); xS=Array baru(); xA=Array baru(); xB=Array baru(); ini=Array baru(); cl=Array baru('#fff000','#0000FF','#ff0000','#00ff00','#ff00ff','#ffa500') document.write('<div id="xouter" style=" posisi:absolute;atas:0px;kiri:0px"><div style="position:relative">'); untuk (i=0; i < xL; i++){ document.write('<div id="xie" style="position:absolute;top:0;left:0;width:10px;height:10px;' + 'font-family:Courier New;font-size:50px;color:#ffffff">.</div>'); } dokumen.write('</div></div>'); //Penempatan Awal! fungsi Set(){ untuk (i=0; i < xL; i++){ xH=window.document.body.offsetHeight; xW=jendela.dokumen.tubuh.lebar offset; xA[i]=Matematika.bulat(Matematika.acak()*xH); xB[i]=Matematika.bulat(Matematika.acak()*xW); xS[i]=Matematika.acak()*0,07+0,05; xR=Matematika.bulat(Matematika.acak()*3); xE=Matematika.bulat(Matematika.acak()*2500+50) jika (xR == 3) xB[i]=-xE; jika (xR == 2) xB[i]=xW+xE; jika (xR == 1) xA[i]=-xE; jika (xR == 0) xA[i]=xH; xF[i]=xW/14; } } Mengatur(); fungsi Tetapkan(){ xouter.style.top=document.body.scrollTop; untuk (saya=0; saya < xL; saya++){ xF[i]-=xS[i]*25; jika (xF[i] < 4) xF[i]=3; xie[i].gaya.top =xY[i]; xie[i].style.kiri=xX[i]; xie[i].style.fontSize=xF[i]; xie[i].style.filter='glow(color='+ini[i]+', kekuatan='+xF[i]/3+')'; } } fungsi fly(){ var N=Math.floor(Math.random()*cl.length) xMY=window.document.body.clientHeight/2; xMX=window.document.body.clientWidth/2; xWd=Matematika.bulat(Matematika.acak()*40+5); xHd=Matematika.bulat(Matematika.acak()*30+5); untuk (saya=0; saya < xL; saya++) { xY[i]=xA[i]+=(xMY-xA[i])*(xS[i]); xX[i]=xB[i]+=(xMX-xB[i])*(xS[i]); if ((xX[i] > xMX-xWd) && (xX[i] < xMX+xWd) && (xY[i] > xMY-xHd) && (xY[i] < xMY+xHd)){ xH=jendela .document.body.offsetHeight; xW=jendela.dokumen.tubuh.lebar offset; xA[i]=Matematika.bulat(Matematika.acak()*xH); xB[i]=Matematika.bulat(Matematika.acak()*xW); xS[i]=Matematika.acak()*0,05+0,05; xR=Matematika.bulat(Matematika.acak()*3); xE=Matematika.bulat(Matematika.acak()*50+50) jika (xR == 3) xB[i]=-xE; jika (xR == 2) xB[i]=xW+xE; jika (xR == 1) xA[i]=-xE; jika (xR == 0) xA[i]=xH+xE; } jika ((xX[i] < 0) || (xX[i] > xW) || (xY[i] < 0) || (xY[i] > xH)) { xF[i]=xW/ 14; ini[i]=cl[N]; } } Tetapkan(); setTimeout('terbang()',10); } terbang(); } // --> </skrip>