자주 가는 게시판에 올라온 팁..(원본)
IE 주소창에 저 코드를 복사->붙여넣기->엔터..를 하면 재미있게 된다.. ㅎ
javascript:R=0;x1=.1;y1=.05;x2=.25;y2=.24;x3=1.6;y3=.24;x4=8;y4=8;DI=document.getElementsByTagName("img");DIL=DI.length;function A(){for(i=0; i-DIL; i++){DIS=DI[i].style;DIS.position='Relative';DIS.left=Math.sin(R*x1+i*x2+x3)*x4;DIS.top=Math.cos(R*y1+i*y2+y3)*y4;}R++;}setInterval('A()',5);void(1);
이건 약간 변형 된 것 ..
javascript:R=0;x1=.1;y1=.05;x2=.25;y2=.24;x3=1.6;y3=.24;x4=8;y4=8;DI=document.getElementsByTagName("td");DIL=DI.length;function A(){for(i=0; i-DIL; i++){DIS=DI[i].style;DIS.position='Relative';DIS.left=Math.sin(R*x1+i*x2+x3)*x4;DIS.top=Math.cos(R*y1+i*y2+y3)*y4;}R++;}setInterval('A()',5);void(1);

'InTer&TeCh > TiP' 카테고리의 다른 글

티스토리 단축키 ( 나만 몰랐었나?? ㅡㅡ; )  (2) 2007.01.11
[H/W] 키보드 타입3으로 변경  (1) 2006.09.19
Posted by 재홍이