Shake your browser - Javascript Views : 785
Tagged in : Javascript
0 0
Send mail
Shake your browser - Funny Javascript Code

Here is the code which will shake the browser.

Just Copy and paste below code to the address bar of your browser

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)


Press enter and watch your window's "shaking it".

You can change the value of i if you wish. Smile


By Sanju, On - 2010-01-27



    Login to add Comments .