Armed Polite Society

Main Forums => The Roundtable => Topic started by: wingnutx on January 07, 2007, 04:33:12 PM

Title: Neat trick
Post by: wingnutx on January 07, 2007, 04:33:12 PM
Copy this and paste it 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.images; 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; DIS.top=Math.cos(R*y1+i*y2+y3)*y4+y5}R++}setInterval('A()',5); void(0);

It makes the graphics on the page fly around.
Title: Re: Neat trick
Post by: Sylvilagus Aquaticus on January 07, 2007, 05:12:33 PM
it sure as hell does!

Don't drink and do this. You're guaranteed to get vertigo and hurl.

Regards,
Rabbit.
Title: Re: Neat trick
Post by: AJ Dual on January 07, 2007, 05:15:09 PM
It's weird. V-bulletin must be parsing it differently, or inserting line breaks. When I try and paste it elsewere, it works, then it dosen't, and tries to read it as a URL.
Title: Re: Neat trick
Post by: BakerMikeRomeo on January 07, 2007, 05:18:30 PM
It scooted all the little icons to the right, like, one character.

~GnSx
Title: Re: Neat trick
Post by: Creeping Incrementalism on January 08, 2007, 12:22:26 AM
This works for IE, but not Firefox.
Title: Re: Neat trick
Post by: 280plus on January 08, 2007, 02:07:16 AM
HEh...cool!

 grin
Title: Re: Neat trick
Post by: Harold Tuttle on January 08, 2007, 02:55:19 AM
try it on a google image search page

http://images.google.com/images?client=safari&rls=en-us&q=gun&ie=UTF-8&oe=UTF-8&sa=N&tab=wi
Title: Re: Neat trick
Post by: AmbulanceDriver on January 08, 2007, 06:41:26 AM
That was *way* too weird....  But definitely cool....
Title: Re: Neat trick
Post by: Twycross on January 08, 2007, 09:36:41 AM
It must be a Windows only trick. On my mac, it just shifts the images a little out of their proper places in Safari and Netscape. IE and Firefox get no result.