Skip to main content
Welcome guest. | Register | Login | Post

Woow, spinning images

9 replies [Last post]
AndrewB's picture
Offline
Joined: 2005-12-18

Hey all, ok heres a cool trick. [Only tested on IE and FFX]
Go to google, then go to images. Search for what ever tickles your fancy.
Then in the URL/Address bar put
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);
And hit enter!

dylunio's picture
Offline
Joined: 2005-12-20
That is mad.

That is mad.

libervisco's picture
Offline
Joined: 2006-05-04
Haha, I knew there were some

Haha, I knew there were some mad scientists at google! Laughing

I gotta show this to my sisters! Sticking out tongue

a thing's picture
Offline
Joined: 2005-12-20
wow

That's a nice easteregg.

kode's picture
Offline
Joined: 2006-04-19
It's not just google... Try

It's not just google...

Try it at http://www.nasa.gov/multimedia/imagegallery/index.html

a thing's picture
Offline
Joined: 2005-12-20
other sites

It seems to work on some other sites, but not all.

free-zombie's picture
Offline
Joined: 2006-03-08
javascript:R=0; x1=.1;

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

works on nxfd as well

kode's picture
Offline
Joined: 2006-04-19
Works on Flickr as
AndrewB's picture
Offline
Joined: 2005-12-18
Think it is pages without

Think it is pages without tables.

libervisco's picture
Offline
Joined: 2006-05-04
Haha.. look at those flying

Haha.. look at those flying avatars and smileys! Laughing out loud

Very cool find. Smiling

Comment viewing options