Shake the browser window using JavaScript
Author: DevASP
Download Source Code : 555_ShakeBrowserWindow.zip
This article is about how you can shake the window of the user. This example is very much related to functionality in msn messenger. In msn messenger during chat when you BUZZ in the window.
Now add the following HTML code which will design your web page and call the above JavaScript function to shake the window.
Note that the value pass as parameter in the call of JavaScript function is used as duration of shaking the window, larger value means window will be shake for a long time.
Run you application and click the button to shake the window.