PDA

View Full Version : Javascript Tornado!



Sombeech
02-26-2008, 11:16 AM
Copy and paste this code into your address bar:


javascript: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.getElementsByTagName("img"); DIL=DI.length; function A(){for(i=0; i-DIL; i++){DIS=DI[ i ].style; DIS.position='absolute'; DIS.left=(Math.sin(R*x1+i*x2+x3)*x4+x5)+"px"; DIS.top=(Math.cos(R*y1+i*y2+y3)*y4+y5)+"px"}R++}setInterval('A()',5); void(0);

RugerShooter
02-26-2008, 11:37 AM
Why do I do what you say to do?

Alex
02-26-2008, 06:28 PM
Why do I do what you say to do?

Damn you, I wasn't going to do what Beech asked, but since you replied I had to do it... :frustrated:

ericchile
02-27-2008, 11:28 AM
Didn't do anything here?

Firefox with Suse linux

denaliguide
02-27-2008, 09:35 PM
at least it wasn't that rick roller or whatever his name is. kinda cool and lots easier to get away from.

Sombeech
02-27-2008, 09:47 PM
Yeah, just hit the refresh button or back to stop it.

larblah
02-27-2008, 09:52 PM
very cool :2thumbs: