Indonesia
<!-- http://www.downcodes.com --> <!-- bbs http://www.downcodes.com/bbs--> <!--脚本说明: 把如下代码加入<body>区域中--> <nama lapisan="a0" kiri=10 atas=10 visibilitas=tampilkan bgcolor="#ffffff" clip="0,0,1,1"></lapisan> <nama lapisan="a1" kiri =10 atas=10 visibilitas=tampilkan bgcolor="#fff000" clip="0,0,1,1"></layer> <nama lapisan="a2" kiri=10 atas=10 visibilitas=tampilkan bgcolor="# ffa000" clip="0,0,1,1"></layer> <nama lapisan="a3" kiri=10 atas=10 visibilitas=tampilkan bgcolor="#ff00ff" clip="0,0,1,1 "></layer> <nama lapisan="a4" kiri=10 atas=10 visibilitas=tampilkan bgcolor="#00ff00" clip="0,0,1,1"></layer> <nama lapisan="a5 " kiri=10 atas=10 visibilitas=tampilkan bgcolor="#ff00ff" clip="0,0,1,1"></layer> <nama lapisan="a6" kiri=10 atas=10 visibilitas=tampilkan bgcolor= "#ff0000" clip="0,0,1,1"></layer> <nama lapisan="a7" kiri=10 atas=10 visibilitas=tampilkan bgcolor="#ffffff" clip="0,0,1 ,1"></layer> <nama lapisan="a8" kiri=10 atas=10 visibilitas=tampilkan bgcolor="#fff000" clip="0,0,1,1"></layer> <nama lapisan= "a9" kiri=10 atas=10 visibilitas=tampilkan bgcolor="#ffa000" clip="0,0,1,1"></layer> <nama lapisan="a10" kiri=10 atas=10 visibilitas=tampilkan bgcolor="#ff00ff" clip="0,0,1,1"></layer> <nama lapisan="a11" kiri=10 atas=10 visibilitas=tampilkan bgcolor="#00ff00" clip="0,0 ,2,2"></layer> <layer name="a12" left=10 top=10 visibilitas=tampilkan bgcolor="#0000ff" clip="0,0,2,2"></layer> <layer name="a13" left=10 top=10 visibilitas=tampilkan bgcolor="#ff0000" clip="0,0,2,2"></layer> <div id="starsDiv" style="position:absolute; atas:0px;kiri:0px"> <div style="position:relative;width:2px;height:2px;background:#ffffff;font-size:2px"></div> <div style="position:relative ;width:1px;height:1px;background:#fff000;font-size:1px"></div> <div style="position:relative;width:1px;height:1px;background:#ffa000;ukuran font :1px"></div> <div style="position:relative;width:1px;height:1px;background:#ff00ff;font-size:1px"></div> <div style="position:relative; lebar:1px;tinggi:1px;latar belakang:#00ff00;ukuran font:1px"></div> <div style="position:relative;width:1px;height:1px;background:#0000ff;ukuran font: 1px"></div> <div style="position:relative;width:1px;height:1px;background:#FF0000;font-size:1px"></div> <div style="position:relative;width :1px;height:1px;background:#ffffff;font-size:1px"></div> <div style="position:relative;width:1px;height:1px;background:#fff000;font-size:1px "></div> <div style="position:relative;width:1px;height:1px;background:#ffa000;font-size:1px"></div> <div style="position:relative;width: 1px;height:1px;background:#ff00ff;font-size:1px"></div> <div style="position:relative;width:2px;height:2px;background:#ff00ff;font-size:2px" ></div> <div style="position:relative;width:1px;height:1px;background:#0000ff;font-size:1px"></div> <div style="position:relative;width:1px ;height:1px;background:#FF0000;font-size:1px"></div> </div> <SCRIPT LANGUAGE="JavaScript"> <!-- Begin var Clrs = new Array(9); Klrs[0] = 'ff0000'; Kler[1] = '00ff00'; Kler[2] = '000aff'; Kler[3] = 'ff00ff'; Kler[4] = 'ffa500'; Kler[5] = 'ffff00'; Kler[6] = '00ff00'; Kler[7] = 'ffffff'; Kld[8] = 'fffff0'; var sClrs = Array baru(5); sClrs[0] = 'ffa500'; sClrs[1] = '55ff66'; sClrs[2] = 'AC9DFC'; sClrs[3] = 'fff000'; sClrs[4] = 'fffff0'; var yBase; var xBase; langkah var; var langkah saat ini = 0; var Xpos = 1; var Ypos = 1; var inisialStarColor = 'ffa000'; var Mtop = 250; var Mkiri = 250; function Fireworks() { if (document.all) { yBase = window.document.body.offsetHeight / 3; xBase = jendela.dokumen.tubuh.offsetWidth / 8; } else if (dokumen.lapisan) { yBase = window.innerHeight / 3; xBase = jendela.innerWidth / 8; } if (dokumen.semua) { langkah = 5; untuk ( i = 0 ; saya < bintangDiv.all.length ; i++ ) { untuk (ai = 0; ai < Clrs.length; ai++) { var c = Math.round(Math.random()*[ai]); } if (currStep < 90) bintangDiv.semua[i].style.background=initialStarColor; if (currStep > 90) bintangDiv.all[i].style.background=Clrs[c]; bintangDiv.semua[i].style.top = Mtop + yBase*Math.sin((currStep+i*5)/3)*Math.sin(550+currStep/100) bintangDiv.all[i].style.left = Mleft + yBase*Math.cos((currStep+i*5)/3)*Math.sin(550+currStep/100) } } else if (document.layers) { langkah = 5; for ( j = 0 ; j < 24 ; j++ ) {//jumlah NS lapisan! var templayer = "a"+j; for (ai = 0; ai < Clrs.length; ai++) { var c = Math.round(Math.random()*[ai]); } if (currStep < 90) document.layers[templayer].bgColor=initialStarColor; if (currStep > 90) document.layers[templayer].bgColor=Clrs[c]; document.layers[templayer].top = Mtop + yBase*Math.sin((currStep+j*5)/3)*Math.sin(550+currStep/100) document.layers[templayer].left = Mleft + yBase *Math.cos((currStep+j*5)/3)*Math.sin(550+currStep/100) } } currStep+= langkah; T=setTimeout("Kembang api()",5); jika (langkah saat ini == 220) { langkah saat ini = -10; for (n = 0; n < sClrs.length; n++) { var k = Math.round(Math.random()*n); } inisialStarColor = sClrs[k]; if (dokumen.semua) { Dtop = window.document.body.clientHeight - 250; Kiri = xBase * 3.5; Mtop = Matematika.bulat(Matematika.acak()*Dtop); Mkiri = Matematika.bulat(Matematika.acak()*Dkiri); document.all.starsDiv.style.top = Mtop+document.body.scrollTop; document.all.starsDiv.style.left = Mleft+document.body.scrollLeft; } else if (dokumen.lapisan) { Kiri = window.innerWidth - 100; Dtop = jendela.innerHeight - 100; Mtop = Matematika.bulat(Matematika.acak()*Dtop+jendela.halamanYOffset); Mleft = Math.round(Math.random()*Dleft+window.pageXOffset); dokumen.lapisan[templayer].top = Mtop; dokumen.lapisan[templayer].kiri = Mkiri; } if ((Mtop < 20) || (Mkiri < 20)) { Mtop += 90; Mkiri += 90; } } } Kembang api(); // Selesai --> </skrip>