Welcome to WebmasterWorld Guest from 50.19.135.67

Forum Moderators: open

Message Too Old, No Replies

Closing JavaScript Popup Boxes

how to handle boxes popping up...

     

Newnewbie

12:29 pm on May 1, 2002 (gmt 0)

10+ Year Member



I've got an application that needs to have a login. I'm doing it in ASP.

I'm using JavaScript to create a cute little 450x255 popup window for the userid & password. It looks really cute, and I know how to write the code... WooooHoooo!

What I'm not sure about is...
After I validate the login, I need to close this javascript popup box and go to a regular size page...

How do you do that??

Thx!

tedster

1:31 pm on May 1, 2002 (gmt 0)

WebmasterWorld Senior Member tedster is a WebmasterWorld Top Contributor of All Time 10+ Year Member



The code window.close() running inside the pop-up itself will close that window leaving the original. Just hook it up with your conditions for when you want it to run.
 

Featured Threads

Hot Threads This Week

Hot Threads This Month