if you are interested to contribute your LAB PROGRAM Please send mail to jkumaron@gmail.com

Shaking window using simple javascript function

In the windows you can shake the window by using smile JavaScript Function
It is very simple
Type the following code

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)

Then copy and paste it in the explorer address bar
Then press go /enter
Then you can see the result
Source code explanation
Javascript function
It has Shw It is function
Self.moveBy it is inbuilt javascript function
By changing there coordinate it will shake the window

Related post