Welcome to WebmasterWorld Guest from

Forum Moderators: open

Message Too Old, No Replies

Closing JavaScript Popup Boxes

how to handle boxes popping up...

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

Junior Member

10+ Year Member

joined:Oct 15, 2001
votes: 0

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??


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

Senior Member

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

joined:May 26, 2000
votes: 0

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.

Join The Conversation

Moderators and Top Contributors

Hot Threads This Week

Featured Threads

Free SEO Tools

Hire Expert Members