_ap_ufes{"success":true,"siteUrl":"www.jucktion.com/tech","urls":{"Home":"https://www.jucktion.com/tech","Category":"https://www.jucktion.com/tech/c/mobile/android/","Archive":"https://www.jucktion.com/tech/2017/11/","Post":"https://www.jucktion.com/tech/pushbullet-notifications-automated-browser-testing/","Page":"https://www.jucktion.com/tech/about/","Attachment":"https://www.jucktion.com/tech/pushbullet-notifications-automated-browser-testing/pushbullet-web-test-complete-notification/","Nav_menu_item":"https://www.jucktion.com/tech/3985/"}}_ap_ufee Cool Google Images Javascript Trick

Cool Google Images Javascript Trick

By | 1st April, 2011 | 0 Comments

This is a cool javascript image trick in the google images that will create a interesting effect on the images that are found. You can try this with any search term and see the picture effect. Its interesting but don’t keep watching it as it might cause dizziness. Do not try at other sites as it may produce unusual outcome.

Here’s a image of how it looks.

cool google images javascript effect

Here’s the code:

You can drag this link on your bookmarks bar for use.

Animate Google Images


Code:-

javascript:
R=0;
x1=.1;
y1=.05;
x2=.25;
y2=.24;
x3=1.6;
y3=.24;
x4=50;
y4=50;
x5=50;
y5=50;
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)*x4)+"px";
DIS.top=(Math.cos(R*y1+i)*y4)+"px"
}R++
}setInterval('A()',0);
void(0);

You still can hover on the images and they will come up and dance for you.
cool google images hover effect

Enjoy the Trick

Tags: , , , ,

Category: Browsers, Cool Hacks