| View previous topic :: View next topic |
| Author |
Message |
beefstick720

Joined: 21 Jul 2007
Posts: 45
|
Posted: Wed Jul 25, 2007 5:28 am Post subject: Fun little java script trick |
|
|
Ok, so we all know java script can do soem cool that are completly unusful but hey this one is just plan fun. to watch your windows shake all you have to do is open up internet explorer (this is the only browser it worked on for me, i tried safari for windows and nothing for mac).
step 1. open internet explorer
step 2. get rid of whats in your address bar.
step 3. put exactly this in your address bar
javascript:function Shw(n) {if (self.moveBy) {for (i = 35; i > 0; i--) {for (j = n; j > 0; j--) {self.moveBy(1,i);self.moveBy(i,0);self.moveBy(0,-i);self.moveBy(-i,0); } } }} Shw(6)
step 4.watch and enjoy |
|
| Back to top |
|
 |
Schultze93
Joined: 17 Aug 2007
Posts: 11
|
Posted: Fri Aug 24, 2007 2:22 am Post subject: |
|
|
| haha thats pretty cool i had to do it a couple times cuz i thought it was just my computer |
|
| Back to top |
|
 |
beefstick720

Joined: 21 Jul 2007
Posts: 45
|
Posted: Mon Oct 01, 2007 10:53 pm Post subject: Another little trick |
|
|
this time go to image.google.com search anything hit enter when the results come up put this in the 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)
there you go another java script browser trick. |
|
| Back to top |
|
 |
|