한국어
<!--완전한 HTML 코드는 다음과 같습니다--> <html> <head> <title>멋진 웹페이지 배경 효과</title> </head> <body bgcolor="#000000"> <!--변경 HTML의 <Body></Body> 사이에 다음 코드가 추가되었습니다. --> <script 언어="JavaScript"> <!-- http://www.downcodes.com의 more javascript if (document.all){ xL =5 ; xW=0; xMY=0; xHd=0; xA=새로운 배열 (); ','#00ff00','#ff00ff','#ffa500') document.write('<div id="xouter" style="position:absolute;top:0px;left:0px"><div style=" position:relative">'); for (i=0; i < xL; i++){ document.write('<div id="xie" style="position:absolute;top:0;left:0 ;너비: 10px;높이:10px;' +'font-family:Courier New;font-size:50px;color:#ffffff">.</div>'); } document.write('</div>< /div> '); //초기 배치! function Set(){ for (i=0; i < xL; i++){ xW=window.document.body.offsetWidth; [i] =Math.round(Math.random()*xH); xB[i]=Math.round(Math.random()*xW) xS[i]=Math.random()*0.07+0.05; xR=Math .round(Math.random()*3); xE=Math.round(Math.random()*2500+50) if (xR == 3) xB[i]=-xE; = 2) xB[i]=xW+xE; if (xR == 1) xA[i]=-xE; if (xR == 0) xF[i]=xW/14; } } 설정(); function Assign(){ xouter.style.top=document.body.scrollTop; for (i=0; i < xL; i++){ xF[i]-=xS[i]*25; (xF[ i] < 4) xF[i]=3; xie[i].style.top =xY[i]; xie[i].style.left=xX[i].style. 글꼴 크기=xF [i]; xie[i].style.filter='glow(color='+ini[i]+', 강도='+xF[i]/3+')' } } 함수 플라이( ){ var N=Math.floor(Math.random()*cl.length) xMY=window.document.body.clientHeight/2; xMX=window.document.body.clientWidth/2; .random( )*40+5); xHd=Math.round(Math.random()*30+5) for (i=0; i < xL; i++) { xY[i]=xA[i]+ =(xMY -xA[i])*(xS[i]); xX[i]=xB[i]+=(xMX-xB[i])*(xS[i]); ] > xMX -xWd) && (xX[i] < xMX+xWd) && (xY[i] > xMY-xHd) && (xY[i] < xMY+xHd)){ xH=window.document.body.offsetHeight ; xW= window.document.body.offsetWidth; xA[i]=Math.round(Math.random()*xH) xB[i]=Math.round(Math.random()*xW); ]=Math .random()*0.05+0.05; xR=Math.round(Math.random()*3) xE=Math.round(Math.random()*50+50) if (xR == 3) xB[i ]=-xE; if (xR == 2) xB[i]=xW+xE; if (xR == 1) xA[i]=-xE; if (xR == 0) xA[i] =xH+ xE; } if ((xX[i] < 0) || (xX[i] > xW) || (xY[i] < 0) || (xY[i] > xH)) { xF[i ]= xW/14; ini[i]=cl[N]; } } Assign(); setTimeout('fly()',10) } fly() }; 본문> </html>