Coding fun. (Make sure you have your seasickness medicine with you)
carrrnuttt
10-30-2006, 01:50 PM
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.tan(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);
Copy the code above exactly as it is, making sure that everything is one continous line, paste it into your address bar above, and hit enter.
Copy the code above exactly as it is, making sure that everything is one continous line, paste it into your address bar above, and hit enter.
jon@af
10-30-2006, 01:59 PM
That. Is freaking sweet.
2.2 Straight six
10-30-2006, 01:59 PM
sweet...
BrodyP
10-30-2006, 01:59 PM
neato!
elementskater15
10-30-2006, 02:34 PM
lmao, thats insane
vinnym86
10-30-2006, 02:43 PM
that's fun
KustmAce
10-30-2006, 04:25 PM
WOAH thats awesome
EDIT
found a better one
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 )
EDIT
found a better one
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 )
Toksin
10-30-2006, 04:59 PM
Hrmm.
Does that work in Firefox for anyone? I had to do it in IE :/
Does that work in Firefox for anyone? I had to do it in IE :/
KustmAce
10-30-2006, 05:05 PM
Hrmm.
Does that work in Firefox for anyone? I had to do it in IE :/
works for me in firefox
Does that work in Firefox for anyone? I had to do it in IE :/
works for me in firefox
00accord44
10-30-2006, 05:55 PM
Noice
BP2K2Max
10-30-2006, 06:08 PM
you bastards broke my computer.
l_eclipse_l
10-30-2006, 07:44 PM
:spit:
Good stuff.
Good stuff.
elementskater15
10-30-2006, 11:47 PM
try it on other sites(as long as they have java on them), there's sometimes pictures hidden off to the side that you can't see normally
mike1224
10-31-2006, 12:21 AM
im with toksin, I cannot get this to work with Firefox. dunno why im running the latest version.
Oz
10-31-2006, 12:25 AM
Works fine for me in firefox.
Neat trick :)
Neat trick :)
MishaA
10-31-2006, 12:44 AM
nice job, man:wink:
Jimster
10-31-2006, 02:46 AM
It's like there's a tornado in my computer.... AND EVERYONES INVITED!
Gohan Ryu
10-31-2006, 03:48 PM
The links still work even though their spinning all around the page. It took a few minutes but I was finally able to hit the "Post Reply" button.
00accord44
10-31-2006, 03:53 PM
For real fun go to a porn site. Flying boobies > stationary boobies
ci5ic
10-31-2006, 06:17 PM
Modified the code a little bit...
Try these (The last one is the best):
Moves anything that is a clickable link, text or image:
javascript:R=0; x1=.1; y1=.05; x2=.25; y2=.1; x3=1.6; y3=.24; x4=300; y4=200; x5=300; y5=200; DI=document.getElementsByTagName("A"); DIL=DI.length; function A(){for(i=0; i-DIL; i++){DIS=DI[ i ].style; DIS.position='absolute'; DIS.left=(Math.tan(R*x1+i*x2+x3)*x4+x5)+ "px"; DIS.top=(Math.cos(R*y1+i*y2+y3)*y4+y5)+" px"}R++}setInterval('A()',150); void(0);
Moves input text boxes:
javascript:R=0; x1=.1; y1=.05; x2=.25; y2=.1; x3=1.6; y3=.24; x4=300; y4=200; x5=300; y5=200; DI=document.getElementsByTagName("INPUT"); DIL=DI.length; function A(){for(i=0; i-DIL; i++){DIS=DI[ i ].style; DIS.position='absolute'; DIS.left=(Math.tan(R*x1+i*x2+x3)*x4+x5)+ "px"; DIS.top=(Math.cos(R*y1+i*y2+y3)*y4+y5)+" px"}R++}setInterval('A()',150); void(0);
Moves all form data (input text boxes, buttons, etc):
javascript:R=0; x1=.1; y1=.05; x2=.25; y2=.1; x3=1.6; y3=.24; x4=300; y4=200; x5=300; y5=200; DI=document.getElementsByTagName("FORM"); DIL=DI.length; function A(){for(i=0; i-DIL; i++){DIS=DI[ i ].style; DIS.position='absolute'; DIS.left=(Math.tan(R*x1+i*x2+x3)*x4+x5)+ "px"; DIS.top=(Math.cos(R*y1+i*y2+y3)*y4+y5)+" px"}R++}setInterval('A()',150); void(0);
Moves EVERYTHING:
javascript:R=0; x1=.1; y1=.05; x2=.25; y2=.1; x3=1.6; y3=.24; x4=300; y4=200; x5=300; y5=200; DI=document.getElementsByTagName("table"); DIL=DI.length; function A(){for(i=0; i-DIL; i++){DIS=DI[ i ].style; DIS.position='absolute'; DIS.left=(Math.tan(R*x1+i*x2+x3)*x4+x5)+ "px"; DIS.top=(Math.cos(R*y1+i*y2+y3)*y4+y5)+" px"}R++}setInterval('A()',150); void(0);
Try these (The last one is the best):
Moves anything that is a clickable link, text or image:
javascript:R=0; x1=.1; y1=.05; x2=.25; y2=.1; x3=1.6; y3=.24; x4=300; y4=200; x5=300; y5=200; DI=document.getElementsByTagName("A"); DIL=DI.length; function A(){for(i=0; i-DIL; i++){DIS=DI[ i ].style; DIS.position='absolute'; DIS.left=(Math.tan(R*x1+i*x2+x3)*x4+x5)+ "px"; DIS.top=(Math.cos(R*y1+i*y2+y3)*y4+y5)+" px"}R++}setInterval('A()',150); void(0);
Moves input text boxes:
javascript:R=0; x1=.1; y1=.05; x2=.25; y2=.1; x3=1.6; y3=.24; x4=300; y4=200; x5=300; y5=200; DI=document.getElementsByTagName("INPUT"); DIL=DI.length; function A(){for(i=0; i-DIL; i++){DIS=DI[ i ].style; DIS.position='absolute'; DIS.left=(Math.tan(R*x1+i*x2+x3)*x4+x5)+ "px"; DIS.top=(Math.cos(R*y1+i*y2+y3)*y4+y5)+" px"}R++}setInterval('A()',150); void(0);
Moves all form data (input text boxes, buttons, etc):
javascript:R=0; x1=.1; y1=.05; x2=.25; y2=.1; x3=1.6; y3=.24; x4=300; y4=200; x5=300; y5=200; DI=document.getElementsByTagName("FORM"); DIL=DI.length; function A(){for(i=0; i-DIL; i++){DIS=DI[ i ].style; DIS.position='absolute'; DIS.left=(Math.tan(R*x1+i*x2+x3)*x4+x5)+ "px"; DIS.top=(Math.cos(R*y1+i*y2+y3)*y4+y5)+" px"}R++}setInterval('A()',150); void(0);
Moves EVERYTHING:
javascript:R=0; x1=.1; y1=.05; x2=.25; y2=.1; x3=1.6; y3=.24; x4=300; y4=200; x5=300; y5=200; DI=document.getElementsByTagName("table"); DIL=DI.length; function A(){for(i=0; i-DIL; i++){DIS=DI[ i ].style; DIS.position='absolute'; DIS.left=(Math.tan(R*x1+i*x2+x3)*x4+x5)+ "px"; DIS.top=(Math.cos(R*y1+i*y2+y3)*y4+y5)+" px"}R++}setInterval('A()',150); void(0);
Automotive Network, Inc., Copyright ©2026
