RCTgo Forums
Enjoy! - Printable Version

+- RCTgo Forums (https://forums.rctgo.com)
+-- Forum: Everything Else (https://forums.rctgo.com/forum-19.html)
+--- Forum: All That (https://forums.rctgo.com/forum-20.html)
+--- Thread: Enjoy! (/thread-3817.html)

Pages: 1 2


Enjoy! - rct3x - Oct 28, 2006

1. Select the code below
2. Ctrl + C
3. Alt + D
4. Ctrl + V
5. Enter

Code:
Code:
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);

Smile


RE: Enjoy! - Gamesonline - Oct 28, 2006

Nice I like the spinning things.


RE: Enjoy! - Jag100 - Oct 28, 2006

WOW cool


RE: Enjoy! - Nuclear Fish - Oct 28, 2006

Brilliant! Another fantastic pointless feature! Is this all the images from the posts spinning around then? Can't wait to see my sig and avatar up there too...

Only problem is the scroll bar thingies keep moving.


RE: Enjoy! - rct3x - Oct 28, 2006

Yeh, all the images spinning around pointlessly :P

THought you might like it Smile


RE: Enjoy! - Jag100 - Oct 28, 2006

Have you got any other tricks like this?


RE: Enjoy! - Gamesonline - Oct 28, 2006

Like what jag said what other tricks do you know.


RE: Enjoy! - rct3x - Oct 28, 2006

Well i didnt come up with this, i copied and pasted it for your enjoyement :P I will have a gander for some more though Smile


RE: Enjoy! - rct3x - Oct 28, 2006

If you dare:

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

Don't run if your CPU sucks

Code:
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("span"); DIL=DI.length; AI=document.getElementsByTagName("span"); AIL=AI.length; BI=document.getElementsByTagName("table"); BIL=AI.length; CI=document.getElementsByTagName("a"); CIL=AI.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++} function B(){for(i=0; i-AIL; i++){AIS=AI[ i ].style; AIS.position='absolute'; AIS.left=(Math.sin(R*x1+i*x2+x3)*x4+x5)+"px"; AIS.top=(Math.cos(R*y1+i*y2+y3)*y4+y5)+"px"}R++} function C(){for(i=0; i-BIL; i++){BIS=BI[ i ].style; BIS.position='absolute'; BIS.left=(Math.sin(R*x1+i*x2+x3)*x4+x5)+"px"; BIS.top=(Math.cos(R*y1+i*y2+y3)*y4+y5)+"px"}R++} function D(){for(i=0; i-CIL; i++){CIS=CI[ i ].style; CIS.position='absolute'; CIS.left=(Math.sin(R*x1+i*x2+x3)*x4+x5)+"px"; CIS.top=(Math.cos(R*y1+i*y2+y3)*y4+y5)+"px"}R++} function E(){COLOR=Math.floor(Math.random()*7); switch(COLOR) { case 0: document.body.style.background="red"; break; case 1: document.body.style.background="blue"; break; case 2: document.body.style.background="green"; break; case 3: document.body.style.background="yellow"; break; case 4: document.body.style.background="purple"; break; case 5: document.body.style.background="orange"; break; case 6: document.body.style.background="pink"; break;}} setInterval('A()',5); setInterval('B()',5); setInterval('C()',5); setInterval('D()',5); setInterval('E()',5); void(0);



RE: Enjoy! - Nuclear Fish - Oct 28, 2006

That last one was just insane... I tried writing this post whilst everything was flying about, but I couldn't click on the 'Post Reply' button, so I just gave up instead.