Thursday, September 27, 2007

Fun with Java script

  • Copy and paste the java script code in the following red lines 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)

    2: Press enter and watch your window's "shaking it". You can change the value of i if you wish :-)

No comments:

Google