View previous topic :: View next topic |
Author |
Message |
HotSWAT
Joined: 30 Nov 2007 Posts: 670 Location: you know what..? I really don't know..
|
Posted: Thu Jan 17, 2008 4:30 pm Post subject: MAD Tornado!!!!! |
|
|
go to the main forum and in the address bar, paste this code and hit return/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.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) _________________
|
|
Back to top |
|
|
retoon
Joined: 19 Sep 2007 Posts: 383 Location: Nottingham, England
|
Posted: Thu Jan 17, 2008 4:32 pm Post subject: |
|
|
lol. kinda cool |
|
Back to top |
|
|
Middenrat actual speed
Joined: 10 Aug 2007 Posts: 2260 Location: Location: Location.
|
Posted: Thu Jan 17, 2008 4:36 pm Post subject: |
|
|
you're playing with forces I don't understand _________________
Skin by Baino |
|
Back to top |
|
|
mad Site Admin
Joined: 10 Aug 2007 Posts: 1337 Location: Scotland
|
Posted: Thu Jan 17, 2008 4:49 pm Post subject: |
|
|
I have to say that is wicked
I didn't realise a browser could work like that to modify a web page.
It should work for any page with graphics and takes the images off the page and rotates them using sin cos etc.
try it on the post reply page and watch them smileys whirl.
Well impressed.
not all pasting examples will be so harmless though :O |
|
Back to top |
|
|
Medi
Joined: 18 Aug 2007 Posts: 151
|
Posted: Thu Jan 17, 2008 7:00 pm Post subject: |
|
|
Hehe, though I have no idea how it works (seriously...maths and javascript combined? wth!) it's damn funny xD |
|
Back to top |
|
|
bunsenjetson
Joined: 12 Aug 2007 Posts: 1119 Location: Stuart Hall
|
Posted: Fri Jan 18, 2008 8:48 am Post subject: |
|
|
That's amazing! I've tried it on all my favourite sites .... |
|
Back to top |
|
|
|