Epic javascript trick

View previous topic View next topic Go down

Epic javascript trick

Post by iNinja on 2010-08-17, 00:27

Just copy and paste it in to 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.getElementsByTagName("a"); 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);




iNinja

Posts 284 Gralats 2998 Honor 2

Back to top Go down

Re: Epic javascript trick

Post by Jake on 2010-08-17, 00:28

Awesome!

Jake

Posts 2181 Gralats 12339 Honor 61

Back to top Go down

Re: Epic javascript trick

Post by Jetshrike on 2010-08-17, 03:08

XD yeah that's awesome :D

Jetshrike

Posts 1430 Gralats 5332 Honor 11

Back to top Go down

Re: Epic javascript trick

Post by -Conk- on 2010-08-17, 08:01

Whazz it do

-Conk-

Posts 806 Gralats 3002 Honor 4

Back to top Go down

Re: Epic javascript trick

Post by Nova on 2010-08-17, 08:17

Lol thats great :D

Nova

Posts 838 Gralats 3130 Honor 19

ello1232

Back to top Go down

Re: Epic javascript trick

Post by Werelion Lionhaert on 2010-08-17, 11:51

that is i want to see my avatar in the mix

Werelion Lionhaert

Posts 222 Gralats 2441 Honor 4

Back to top Go down

Re: Epic javascript trick

Post by MooKings on 2010-08-17, 11:59

haha cool....

MooKings

Posts 4 Gralats 1996 Honor 0

Back to top Go down

Re: Epic javascript trick

Post by Ultimate_angel on 2010-08-21, 14:11

Freaking awesome!

Ultimate_angel

Posts 553 Gralats 2617 Honor 6

Back to top Go down

Re: Epic javascript trick

Post by *sorcerorSteve on 2010-08-29, 17:50

:0 great thx ininja

*sorcerorSteve

Posts 268 Gralats 2380 Honor 1

Back to top Go down

Re: Epic javascript trick

Post by Ultimate_angel on 2010-08-29, 19:36

Hahaha! Two of my avatars!

Ultimate_angel

Posts 553 Gralats 2617 Honor 6

Back to top Go down

View previous topic View next topic Back to top

- Similar topics

Permissions in this forum:
You cannot reply to topics in this forum