Indonesia
Ganti gambar yang diperlukan dalam kode dengan gambar cloud untuk efek yang lebih baik
<!-- http://js.downcodes.com/ --> <!-- http://bbs.downcodes.com/--> Ubah Salinan kode berikut ke dalam <body> halaman web Anda... <script Language="JavaScript1.2"> var no = 18; var speed = 2; var snow = new Array(); yun.gif" snow[1] = "images/yun.gif" snow[2] = "images/yun.gif" var ns4up = (document.layers) ? 1 : 0; var ie4up = ( document.all) ? 1 : 0; var ns6up = (dokumen.getElementById&&!document.all) ? |ns6up) { doc_width = self.innerWidth; doc_height = self.innerHeight; } else if (ie4up) { doc_width = document.body.clientWidth; doc_height = dokumen.body.clientHeight; Array(); yp = Array baru(); am = Array baru(); stx = Array baru(); sty = Array baru(); { dx[i] = 0; xp[i] = Matematika.acak()*(doc_width-50); yp[i] = Matematika.acak()*doc_height; am[i] = Matematika ; stx[i] = 0,02 + Math.random()/10; sty[i] = 0,7 + Math.random(); ="titik"+ i +"" kiri="15" atas="15" visibilitas="tampilkan"><img src=""+ salju[j] + "" batas ="0"></layer>"); } else { document.write("<nama lapisan="titik"+ i +"" left="15" top= "15" visibilitas="tampilkan"><img src=""+ salju[j] + "" border="0"></layer>"); } } else if (ie4up ||ns6up) { if (i == 0) { document.write("<div id="dot"+ i +"" style="POSITION: absolute; Z-INDEX: "+ i +"VISIBILITY : terlihat; TOP: 15px; KIRI: 15px; lebar:1;"><img src="" + salju[j] + "" border="0"></div>"); ("<div id="dot"+ i +"" style="POSISI: absolut; Z-INDEX: "+ i +"VISIBILITAS: terlihat; ATAS: 15 piksel; KIRI: 15 piksel; lebar:1; "><img src="" + salju[j] + "" border="0"></div>"); if (j == (salju.panjang- 1)) { j = 0; } lain { j += 1; } } fungsi saljuNS() { untuk (i = 0; saya < tidak; ++ i) { yp[i] -= sty[i]; < -50) { xp[i] = Matematika.acak()*(doc_width-am[i]-30); yp[i] = doc_height; [i] = 0,7 + Math.random(); doc_width = self.innerWidth; doc_height = self.innerHeight; } dx[i] += stx[i]; [i]; dokumen.lapisan["titik"+i].kiri = xp[i] + am[i]*Math.sin(dx[i]); } setTimeout("snowNS()" , kecepatan } function snowIE_NS6() { for (i = 0; i < no; ++ i) { yp[i] -= sty[i]; if (yp[i] < -50) { xp[i ] = Matematika.acak ()*(doc_width-am[i]-30); yp[i] = doc_height; stx[i] = 0,02 + Math.random()/10; sty[i] = 0,7 + Math.doc_width = ns6up?window.innerWidth-5:document.body.clientWidth; doc_height = ns6up?window.innerHeight-5:document.body.clientHeight; semua["titik"+i].style.pixelTop = yp[i]; dokumen.semua["titik"+i].style.pixelLeft = xp[i] + am[i]*Sin(dx[i ]); } lain jika (ns6up){ document.getElementById("dot"+i).style.top=yp[i]; document.getElementById("dot"+i).style.left= xp[i] + am[i]*Math.sin(dx[i]); } } setTimeout("snowIE_NS6()", kecepatan); } if (ns4up) { snowNS(); lain jika (ie4up|| ns6up) { snowIE_NS6( ); } </skrip>