View previous topic :: View next topic |
Author |
Message |
Doctor Feelgood Arrrrghh!
Joined: 07 Apr 2003 Posts: 20349 Location: New Jersey
|
Posted: Mon, 09 Oct 2006 17:04:14 Post Subject: Image Tornado - Stolen from Anandtech |
|
|
Browse to a busy forum post (or do it right here). Then enter the following code into your browser address bar:
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); |
Makes a cool tornado of all images on the page overlayed onto the page.
(busy threads are better, as more images make better tornados!) |
|
Back to top |
|
|
Little Bruin
Boo Boo
Joined: 07 Apr 2003
Posts: 667
Location: Pic-A-Nic Basket |
|
|
knight0334 Rated XXX
Joined: 22 Aug 2003 Posts: 2234 Location: Neither Here, Nor There
|
|
Back to top |
|
|
FOX I <3 Quail
Joined: 15 Nov 2004 Posts: 2074 Location: Saint Cloud, MN
|
|
Back to top |
|
|
dadx2mj Happy Camper
Joined: 10 Aug 2003 Posts: 2994 Location: SoCal
|
|
Back to top |
|
|
silverstrand Rated PG-13
Joined: 10 Oct 2005 Posts: 30 Location: Wisconsin
|
Posted: Mon, 09 Oct 2006 18:20:37 Post Subject: |
|
|
oh my. just wow! _________________ |
|
Back to top |
|
|
heylinder Rated XXX
Joined: 04 Aug 2003 Posts: 1938 Location: Georgia
|
Posted: Mon, 09 Oct 2006 22:18:58 Post Subject: |
|
|
Very cool Thanks for including us in your thievery |
|
Back to top |
|
|
FOX I <3 Quail
Joined: 15 Nov 2004 Posts: 2074 Location: Saint Cloud, MN
|
|
Back to top |
|
|
Little Bruin
Boo Boo
Joined: 07 Apr 2003
Posts: 667
Location: Pic-A-Nic Basket |
|
|
edvallie Put Beer Here
Joined: 07 Aug 2005 Posts: 1255 Location: Computer
|
|
Back to top |
|
|
edvallie Put Beer Here
Joined: 07 Aug 2005 Posts: 1255 Location: Computer
|
Posted: Wed, 11 Oct 2006 21:56:04 Post Subject: |
|
|
It worked for me once then I went to show people and I can't get it to work anymore _________________ ABAP? What did you call me? |
|
Back to top |
|
|
dadx2mj Happy Camper
Joined: 10 Aug 2003 Posts: 2994 Location: SoCal
|
Posted: Wed, 11 Oct 2006 23:51:21 Post Subject: |
|
|
highonv8splash wrote: | It worked for me once then I went to show people and I can't get it to work anymore |
Is there anything you dont break? |
|
Back to top |
|
|
|