Thursday, June 4, 2009

A Rare Google Images Trick

·

This Trick makes all the images on the Google image search page to dance like anything.

1. Go to http://images.google.com

2. Search for any image you like. I searched for Bikes.

3. Then delete the url in the address bar. Like in this case, it would be something like this :

http://images.google.com/images?hl=en&q=bikes&btnG=Search+Images&gbv=2&aq=f&oq=bike

4. Paste any one of the three scripts instead of the url to see amazing effects:

a.)

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

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

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

4.And then hit Enter. Enjoy!!

Need any help? Feel free to contact me.





Spread Firefox Affiliate Button

If you like this article then you may also like receiving free daily updates directly in your email (one email per day).

Subscribe new articles by RSS feed or by Email

Enter your email address:




Related Posts by Categories



2 comments:

Anonymous said...
June 4, 2009 at 8:57 PM  

Fun effects but a) does not work

Aneesh Bhatnagar said...
June 5, 2009 at 8:45 AM  

samksethi,

If it does not work for you, how do you know it is fun effects?

Btw, What Browser did you try on?

I have tested on Mozilla Firefox and Microsoft internet explorer.

Post a Comment

Comments On Learn Zone are Moderated by me and only then they shall appear here. Please do not spam in the comment box.

About Me

My name is Aneesh Bhatnagar. I am a student in Class XI,like blogging and helping out others with different softwares... Well, That's all i can say about me... Have any queries???Mail me at : persnalid@gmail.com