Log in

View Full Version : Trippy Screen Trick



LaZ
12-18-2007, 02:34 AM
Copy and paste this into your address bar and hit enter:


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(O);

It's a really cool effect and can be used on any website. To stop it just hit the back button. It uses basic javascript and is harmless. Have fun:thumbsup:

420_24/7
12-18-2007, 02:35 AM
oh thats trippy

Markass
12-18-2007, 04:11 AM
that's awesome

snowblind
12-18-2007, 02:05 PM
ha ha ha nice

chongman420
12-18-2007, 02:26 PM
Made me feel like I smoked salvia again :)

LIP
12-18-2007, 02:41 PM
Damn, THATS GOOD! I'm gunner save that code in word haha! trip my mates out.

LaZ
12-19-2007, 12:34 AM
Yeah, I'm sure it would be crazy if you did it on the picture section, but all those images might be alot spinning in a circle lol

slipknotpsycho
12-19-2007, 12:38 AM
it doesn't work for me?

n/m

kgb420
12-19-2007, 12:49 AM
what does it do ? didn't work for me..

toketaker
12-19-2007, 12:58 AM
woah thats tight
whered u find that?

slipknotpsycho
12-19-2007, 01:01 AM
what does it do ? didn't work for me..

you opened a new window to do it didn't you?

just go to like the top of the cannabis.com page and then put in the code and hit enter (on the cannabis.com page)

L Rag
12-19-2007, 01:29 AM
What, into the URL bar?

slipknotpsycho
12-19-2007, 01:30 AM
What, into the URL bar?

yes

L Rag
12-19-2007, 01:33 AM
WOW

randomname4888
12-19-2007, 04:05 AM
haha thats awseme

ChronicJoint
12-20-2007, 06:33 AM
haha thats awseme

ok so its supposed to make the images all spin in a figure-8 type thing right? ok well i do it and this dudes avatar is in the middle of it all. nice spinning and stuff, and some dude pointing at me going "ARE YOU ON DRUGS!" hahaha i thought it was pretty funny :D

rebgirl420
12-20-2007, 06:49 AM
WTF haha cooool

chisme
12-20-2007, 06:38 PM
i cant sopy the code can someone plz just post it normaly?

dragonrider
12-20-2007, 06:40 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.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(O);

Metaphor
12-20-2007, 08:25 PM
hehe thats fucked up

shuggie86
12-28-2007, 12:34 PM
it won't work. i keep getting some weird website