Cool Javascript Trick With Google Images

Few days ago, I was blog surfing and I end up on a site with a cool javascript trick only using Google Images. I listed the steps by steps to show the results on your internet browser. Enjoy!

Step 1
Use your internet browser such as Firefox or Internet Explorer and type in the address bar ยปhttp://images.google.com
Step 2
Then, you can search for any image for example; “cars” or “flowers”.

Step 3
Next, you will see the search result like normal with thumbnails.
Step 4
Here is the trick where you need to copy the javascript codes below and paste in your internet browser address bar:-
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)
Step 5
Just joking, there is no step 5, you already see the result. Cool trick isn’t it ? :D
(via bloggertricks)
Popularity: 2% [?]


Do you like this post ? Want to read more ? 














