Close Window 2 | JavaScriptSource

Close Window 2

JavaScriptSource Staff Sep 9, 2000
If you have JavaScript open a new window, it's a piece of cake to close it after a certain number of seconds of being open. Just enter in the time in milliseconds (i.e. 5000 = 5 secs) and it your window will close after the appropriate number of seconds.
[ Best used with Popup Page Script ]

The JavaScript Source: Navigation: Close Window

Simply click inside the window below, use your cursor to highlight the script, and copy (type Control-c or Apple-c) the script into a new file in your text editor (such as Note Pad or Simple Text) and save (Control-s or Apple-s). The script is yours!!!

    

Did you use this script?  Do you like this site?  Please link to us!

Leave a Response

(
0 comments)