Welcome to WebmasterWorld Guest from 54.196.224.166

Forum Moderators: incrediBILL

Message Too Old, No Replies

How to close a window?

     

circuitjump

3:46 pm on Jul 30, 2001 (gmt 0)

10+ Year Member



How do I close a window?
Like , let's say we have a pop-up window that has a sign-up for a mailing list. The person ads there e-mail to it and once they click submit I want the window to close. Or I want it to say thanks and have a delayed process, then after let's say 5 seconds, close.

Thanks advance

joshie76

3:48 pm on Jul 30, 2001 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



using JavaScript the window.close() method can close a window. However, if the window was not initially opened by JavaScript then the browser will warn the user and prompt them to confirm the window closure.

circuitjump

6:40 pm on Jul 30, 2001 (gmt 0)

10+ Year Member



Got it,

Thanks ;)

 

Featured Threads

Hot Threads This Week

Hot Threads This Month