homepage Welcome to WebmasterWorld Guest from 54.205.144.231
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
Become a Pro Member

Home / Forums Index / Code, Content, and Presentation / JavaScript and AJAX
Forum Library, Charter, Moderator: open

JavaScript and AJAX Forum

    
Closing JavaScript Popup Boxes
how to handle boxes popping up...
Newnewbie




msg:1484885
 12:29 pm on May 1, 2002 (gmt 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??

Thx!

 

tedster




msg:1484886
 1:31 pm on May 1, 2002 (gmt 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.

Global Options:
 top home search open messages active posts  
 

Home / Forums Index / Code, Content, and Presentation / JavaScript and AJAX
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Home ¦ Free Tools ¦ Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About ¦ Library ¦ Newsletter
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved