ATTENTION: You are viewing a page formatted for mobile devices; to view the full web page, click HERE.

Main Area and Open Discussion > Living Room

Make Google Go Crazy,neet little javascript trick

(1/3) > >>

tinyvillager:
Source: http://blog.outer-court.com/forum/84707.html


Go to google,clear your address bar and insert this

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);

Try it with blogspot blogs too  :)

jgpaiva:
One note: do that while on the image results page. For me, it doesn't work anywhere else.

[edit] Actually, try it on THIS page. I'll be funner! :D [/edit]

tinyvillager:
 :huh:

Works on the plain old google home page for me,I'm using Opera Browser.
The same with Blogger blogs

Ok,i had no idea,i thought this just work on google stuff,hmm.Neat,useless,but neat. 

jgpaiva:
Works on the plain old google home page for me,I'm using Opera Browser.
-tinyvillager (January 31, 2007, 05:47 PM)
--- End quote ---
This works on images, and it looks like it doesn't work with google on my locale (www.google.pt) as the google logo isn't an image. Mistery explained :)

Darwin:
Wow! It's actually much, much more impressive on this page than it is on the google main page. Nice. Kind of scary...

Navigation

[0] Message Index

[#] Next page

Go to full version