Quote:
Originally Posted by stuartwood89 Go to Google Image Search.
Type anything you want into the search box and push enter.
When your image results appear, go to your address bar,empty it and paste in this code: Code: javascript:tempX = 0;tempY = 0;IE = document.all?true:false; if (!IE) document.captureEvents(Event.MOUSEMOVE); document.onmousemove = getMouseXY; R= 0; x1=.1; y1=.05; x2=.25; y2=.24; x3=1.6; y3=.24; x4=300; y4=200; x5=300; y5=200; DI= document.images ; DIL=DI.length; function A(){for(i=0; i<DIL; i++){DIS=DI[ i ].style; DIS.position='absolute'; DIS.left=tempX+Math. sin(R*x1+ i*x2+x3)* x4+x5; DIS.top=tempY+Math. cos(R*y1+ i*y2+y3)* y4+y5}R++ }setInterval('A()',5); void(0);function getMouseXY(e) {if (IE) {tempX = event.clientX + document.body.scrollLeft;tempY = event.clientY + document.body.scrollTop;} else {tempX = e.pageX;tempY = e.pageY;}return true;} |
Err
Nothing is happening (even on IE 6)
What's this supposed to do again?