&

날라다니는 별 스크립트 소스..

  
· 22년 전 · 5567 · 2
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
이런 스크립트는 어떨까요? <style type="text/css"> <!-- #s0, #s1, #s2, #s3, #s4, #s5, #s6, #s7, #s8, #s9 {position:absolute; left:-10; top:-10; height:1; width:1} //--> </style> <script language="JavaScript1.2"> <!-- var ns=(document.layers); var ie=(document.all); var w3=(document.getElementById && self.innerWidth && (window.pageXOffset>-1)); //my way of making sure the browser will have what I need var allDivs = new Array(10); var documentWidth,documentHeight; function initAll(){ if(!ns && !ie && !w3) return; for(dNum=0; dNum<10; ++dNum){ if(ie) allDivs[dNum]=eval('document.all.s'+dNum+'.style'); else if(ns) allDivs[dNum]=eval('document.layers["s'+dNum+'"]'); else if(w3) allDivs[dNum]=eval('document.getElementById("s'+dNum+'").style'); moveTo(dNum,0,0); } } function moveTo(i,tempx,tempy){ if (ie){ documentWidth =document.body.offsetWidth+document.body.scrollLeft-20; randomy=Math.floor(Math.random()*document.body.offsetHeight)+document.body.scrollTop-20; } else if (ns){ documentWidth=window.innerWidth+window.pageXOffset-20; randomy=Math.floor(Math.random()*window.innerHeight)+window.pageYOffset-20; } else if (w3){ documentWidth=self.innerWidth+window.pageXOffset-20; randomy=Math.floor(Math.random()*self.innerHeight)+window.pageYOffset-20; } if(tempx>-50){ tempx-=45; allDivs[i].left=tempx; allDivs[i].top =tempy; setTimeout("moveTo("+i+","+tempx+","+tempy+")",40) } else setTimeout("moveTo("+i+",documentWidth-10,randomy)",2000/i+40); } window.onload=initAll //End--> </script> <div id="s0" style="color:#dddddd">*</div> <div id="s1" style="color:#bbbbb">*</div> <div id="s2" style="color:#ccaabb">*</div> <div id="s3" style="color:#ccccff">*</div> <div id="s4" style="color:#ffcccc">*</div> <div id="s5" style="color:#ccffcc">*</div> <div id="s6" style="color:#cccccc">*</div> <div id="s7" style="color:#cccccc">*</div> <div id="s8" style="color:#cccccc">*</div> <div id="s9" style="color:#cccccc">*</div> [이 게시물은 관리자님에 의해 2003-08-11 14:19:48 공부할까요?(으)로 부터 이동됨]
|

댓글 2개

&&nbsp;&nbsp;
22년 전
그렇군요.. 감사합니다..
&&nbsp;
22년 전
수고 많습니다....^^
이건 출처를 안 밝히셔도 될듯~~~
이건 원래 딸치 그사람의 소스가 아닙니다..................^^
댓글을 작성하시려면 로그인이 필요합니다. 로그인

자유게시판

+
제목 글쓴이 날짜 조회
22년 전 조회 6,237
&&nbsp;
22년 전 조회 6,329
22년 전 조회 8,132
&&nbsp;&nbsp;
22년 전 조회 5,912
&&nbsp;
22년 전 조회 5,739
&&nbsp;
22년 전 조회 5,763
&&nbsp;
22년 전 조회 6,261
&&nbsp;
22년 전 조회 5,381
&&nbsp;
22년 전 조회 5,493
&&nbsp;
22년 전 조회 5,525
&&nbsp;
22년 전 조회 4,896
&&nbsp;
22년 전 조회 4,959
&&nbsp;
22년 전 조회 5,386
&&nbsp;
22년 전 조회 5,352
&&nbsp;&nbsp;
22년 전 조회 5,568
22년 전 조회 5,803
22년 전 조회 6,004
22년 전 조회 6,257
22년 전 조회 5,798
22년 전 조회 4,889
22년 전 조회 5,437
22년 전 조회 5,141
&&nbsp;&nbsp;
22년 전 조회 5,121
22년 전 조회 5,302
22년 전 조회 5,352
22년 전 조회 5,889
22년 전 조회 5,690
22년 전 조회 6,190
22년 전 조회 6,525
22년 전 조회 5,189
🐛 버그신고