Awesome Awesome Awesome
Polk addict
Posts: 558
Type this into your browser after any page is done loading:
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)
(This is supposed to be in the browser address, nothing but this or it won't work)
Cheers!!
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)
(This is supposed to be in the browser address, nothing but this or it won't work)
Cheers!!
Post edited by Polk addict on
Comments
-
Didn't work for me.........it's supposed to work with all those spaces in there? (even without the spaces, doesn't work)comment comment comment comment. bitchy.
-
Oh, didn know there were spaces...
-
Try it on Google Images... Doesn't work here...
-
The code got cut off.
http://stopgeek.com/neat-trick-with-javascript.html
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);If you will it, dude, it is no dream. -
Ah man...
-
-
Polk addict wrote: »Try it on Google Images... Doesn't work here...
It worked for me. Go to a forum page with a lot pictures, like page 86 of the tasteful babe thread (or any of the system showcase pages). paste the following code into the address bar and then 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.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);
Enjoy the show. You might have to scroll back up to the top of the page to see the effect. Reload the page to make the effect stop.Proud and loyal citizen of the Digital Domain and Solid State Country! -
Hahahahaha. I haven't even tried it, but I remember this being posted a year or so ago. Pretty neat...:pGeorge Grand wrote: »
PS3, Yamaha CDR-HD1300, Plex, Amazon Fire TV Gen 2
Pioneer Elite VSX-52, Parasound HCA-1000A
Klipsch RF-82ii, RC-62ii, RS-42ii, RW-10d
Epson 8700UB
In Storage
[Home Audio]
Rotel RCD-02, Yamaha KX-W900U, Sony ST-S500ES, Denon DP-7F
Pro-Ject Phono Box MKII, Parasound P/HP-850, ASL Wave 20 monoblocks
Klipsch RF-35, RB-51ii
[Car Audio]
Pioneer Premier DEH-P860MP, Memphis 16-MCA3004, Boston Acoustic RC520 -
pretty coolHome Theater
lsi 15's, lsi c, lsi f/x
onkyo 805
sunfire tga 5200
toshiba - xa2
panasonic bd30
sony kdl40v2500
svs sb12+ -
cool...