31
Jan
Give Google A Spin
A great little tip from Google Blogoscoped: Visit Google and then clear the address bar, and paste the following in:
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);
Hit enter & watch the fun! Just navigate away to stop it - anyone know why this happens?
Some Totally Unrelated PostsReaders who viewed this page, also viewed:




February 1st, 2007 at 1:26 pm
It doesn’t work if you copy and paste from your excerpt, but it does if you get it from the Google Blogoscoped link: http://blog.outer-court.com/archive/2007-01-31-n71.html.
Actually, you can get a better effect if you try it with a page of Google images of your choice!
It’s just some funky Javascript to juggle round the images based on some maths…
February 1st, 2007 at 1:27 pm
I had the same problem posting the code a while back, and gave up in the end! I think it maybe something to do with Wordpress adding some extra line feeds or something…
February 1st, 2007 at 1:34 pm
And they told us WP 2.1 has a true WYSIWYG editor!
They lied!
Oh well, it wasn’t that amusing….
February 1st, 2007 at 1:50 pm
You can also play about with the numbers, and make it rotate differently…
February 1st, 2007 at 5:34 pm
For some reason, trying to make my computer behave badly on purpose strikes me as wrong. Particularly when it behaves badly all by itself so often.
February 1st, 2007 at 8:49 pm
i tried this, it wouldn’t work for me.
so off to try pinksy’s link.
February 1st, 2007 at 8:51 pm
ok i am stupid,it still didn’t work!
although i am not sure what its meant to do?
February 1st, 2007 at 9:01 pm
It makes the images & text dance about the screen.
It’s not that great (wishing I hadn’t posted)