/ Published in: Java
The function that closes window is very useful when you use a pop-up window on your page, because it allows the visitor to easily close the window. You can also do it several ways: to use a button, a text link or make the window closes automatically after a given number of seconds.
URL: http://www.apphp.com/index.php?snippet=javascript-close-window