Move & Shake Your Window


If You Want To Move & Shake Your window,Then Just Follow These Copy-Paste Method & Make Fun.

1.Copy and paste the java script code to the address bar of your browser


For Move Your Window

javascript:a=0;x=0;y=0;setInterval("a+=.01;x=Math.cos(a*3)*200;y=Math.sin(a*2)*2;moveBy(x,y)",2);void(0)

For Shake Your Window

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)

2: Press enter and watch your window's "shaking it". You can change the value of i if you wish for increase or decrease speed of shaking.

No comments:

Post a Comment

LinkWithin

Related Posts Plugin for WordPress, Blogger...