PDA

View Full Version : Automatic Window Closer


Wobbler
11-25-2002, 08:39 PM
How do I make an automatic window closer!

The function muist be triggered off with an timer after 2 second! It will shut down a popup window. I know how to make a "close" button but i want this to close automaticly!

cg9com
11-25-2002, 08:55 PM
<script type="text/javascript">
setTimeout('window.close()',2000)
</script>

samraza
11-25-2002, 11:49 PM
Let me add another one, how do you stop a browser warning message that it is trying to close window? how do you get arround that?

Quiet Storm
11-26-2002, 12:28 AM
Before you post a question, please do a search first...


You seek this thread:
http://codingforums.com/showthread.php?threadid=809