Did you miss your activation email?

• December 16, 2018, 07:32 AM
• Proudly celebrating 13 years online.
• Donate now to become a lifetime supporting member of the site and get a non-expiring license key for all of our programs.

### Author Topic: Make Google Go Crazy,neet little javascript trick  (Read 24030 times)

#### tinyvillager

• Charter Member
• Joined in 2005
• Posts: 444
##### Make Google Go Crazy,neet little javascript trick
« on: January 31, 2007, 05:41 PM »
Source: http://blog.outer-co...com/forum/84707.html

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
« Last Edit: January 31, 2007, 05:43 PM by tinyvillager »

#### jgpaiva

• Global Moderator
• Joined in 2006
• Posts: 4,727
##### Re: Make Google Go Crazy
« Reply #1 on: January 31, 2007, 05:44 PM »
One note: do that while on the image results page. For me, it doesn't work anywhere else.

#### tinyvillager

• Charter Member
• Joined in 2005
• Posts: 444
##### Re: Make Google Go Crazy,neet little javascript trick
« Reply #2 on: January 31, 2007, 05:47 PM »

The same with Blogger blogs

Ok,i had no idea,i thought this just work on google stuff,hmm.Neat,useless,but neat.
« Last Edit: January 31, 2007, 05:49 PM by tinyvillager »

#### jgpaiva

• Global Moderator
• Joined in 2006
• Posts: 4,727
##### Re: Make Google Go Crazy,neet little javascript trick
« Reply #3 on: January 31, 2007, 05:53 PM »
-tinyvillager
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

• Charter Member
• Joined in 2005
• Posts: 6,984
##### Re: Make Google Go Crazy,neet little javascript trick
« Reply #4 on: January 31, 2007, 09:35 PM »
Wow! It's actually much, much more impressive on this page than it is on the google main page. Nice. Kind of scary...

#### app103

• Global Moderator
• Joined in 2006
• Posts: 5,763
##### Re: Make Google Go Crazy,neet little javascript trick
« Reply #5 on: February 01, 2007, 12:39 AM »
OMG...that looks insane on my website.

#### f0dder

• Charter Honorary Member
• Joined in 2005
• Posts: 9,134
• [Well, THAT escalated quickly!]
##### Re: Make Google Go Crazy,neet little javascript trick
« Reply #6 on: February 01, 2007, 03:27 AM »
Here's the source where I saw it first: http://www.pouet.net...=1&x=13&y=13 - looks pretty good on the http://pouet.net main page as well.
- carpe noctem

#### app103

• Global Moderator
• Joined in 2006
• Posts: 5,763
##### Re: Make Google Go Crazy,neet little javascript trick
« Reply #7 on: February 01, 2007, 06:57 AM »
The shorter version of the code from the link f0dder posted has a slightly different effect:

javascript:R=0;DI=document.images;function A(){for(i=0;i<DI.length;){DIS=DI[i++].style;DIS.position='absolute';DIS.left= (Math.sin(R+i/4)+1)*400;DIS.top=(Math.cos(R/2+i/4+1.6)+1)*400}R+=0.1}setInterval( 'A()',5);void(0)

#### f0dder

• Charter Honorary Member
• Joined in 2005
• Posts: 9,134
• [Well, THAT escalated quickly!]
##### Re: Make Google Go Crazy,neet little javascript trick
« Reply #8 on: February 01, 2007, 07:02 AM »
Btw. neither versions work for me here on DC, with FF2... but work fine other places.
- carpe noctem

#### cthorpe

• Discount Coordinator
• Supporting Member
• Joined in 2006
• Posts: 736
• c++thorpe
##### Re: Make Google Go Crazy,neet little javascript trick
« Reply #9 on: February 02, 2007, 11:03 AM »

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()',50); void(0);

Click it multiple times to change speed.
« Last Edit: February 02, 2007, 11:06 AM by cthorpe »

#### Wordzilla

• Forum Search Daemon
• Charter Member
• Joined in 2005
• Posts: 470
• Two there should be; no more, no less.
##### Re: Make Google Go Crazy,neet little javascript trick
« Reply #10 on: February 03, 2007, 07:28 PM »
cthorpe, I tried your code on DC forum pages on I saw smileys, cody coins, avatars and everything flying and whirling all over. Now that was FUN!

#### mouser

• First Author
• Joined in 2005
• Posts: 39,027
##### Re: Make Google Go Crazy,neet little javascript trick
« Reply #11 on: February 03, 2007, 08:14 PM »
why doesn't it work for me?

nevermind i got it to work by right clicking in ff toolbar and saying add bookmark and pasting it into location field.
« Last Edit: February 03, 2007, 08:16 PM by mouser »

#### Wordzilla

• Forum Search Daemon
• Charter Member
• Joined in 2005
• Posts: 470
• Two there should be; no more, no less.
##### Re: Make Google Go Crazy,neet little javascript trick
« Reply #12 on: February 03, 2007, 08:24 PM »
I'm using FF 2.0.0.1 and the trick works like magic.

Make Google Go Crazy,neet little javascript trick

#### wyrwolf

• Supporting Member
• Joined in 2006
• Posts: 38
• It is what it is.
##### Re: Make Google Go Crazy,neet little javascript trick
« Reply #13 on: February 09, 2007, 02:50 AM »
TOO COOL!
I tried to figure out an easy way to make it a clickable link to send in an email to friends, but no luck.
Easily the most awesome fun thing I've encountered here. Thanx!
It is what it is.