PDA

View Full Version : Funkify a website


Scott Markowitz
08-14-2007, 10:54 PM
I found this on the net somewhere. Some people have way too much time on their hands.

1) Go to any website that has some links and graphics on it. (Actually for some reason it doesn't work as well on this site, but it did work on www.theworldsstrongestman.com, so try it there. It also worked on www.ifsastrongman.com.)

2) Once the page is loaded, paste the following in the 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++}setInterv al('A()',5); void(0);

3) Watch.

I don't know what exactly it's doing or how :confused: , but apparently the links still work as they float around. Someone way smarter than me with lots of discretionary time came up with it.

Spencer Olson
08-16-2007, 08:34 AM
Hmm, for some reason it doesn't do anything for me. Maybe it's because I run FireFox instead of IE?

Matt Brouse
08-16-2007, 08:43 AM
Yeah, I tried it when you posted it on myspace...didn't work. I figured you were playing the "how to keep and idiot busy game."

Scott Markowitz
08-16-2007, 09:05 AM
I dunno. Still works for me. I use firefox as well, so it's not that.

Anyway, it takes all the graphics on the page and makes them circle around the screen.

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++}setInterv al('A()',5); void(0);

James Whisman
08-16-2007, 10:31 AM
Anyway, it takes all the graphics on the page and makes them circle around the screen.



Can I have some of what you're on?