stupid web tricks

10 10 2006

This isn’t at all useful, but it’s entertaining. You can do this in any webpage you want, although I recommend doing it from a Google Image Search results page. Copy and paste the following code into your browser’s address bar and press 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(0);


Actions

Informations

3 responses to “stupid web tricks”

12 10 2006
Mom (17:46:45) :

This thing totally freaked me out when it popped up! :o)

16 10 2006
Jon (09:12:22) :

Your site won’t let me select the code to copy it…. it is probably because I am using MSIE.

17 10 2006
The Camel (06:51:16) :

You are the second person who has told me about that problem, and I think both of you were using IE. Try it with a real browser.

Leave a comment

You can use these tags : <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <code> <em> <i> <strike> <strong>