Search the archives!
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Javascript] Thanks & follow-up, was: Handling child window visibility...
- From: ShawnMilo at runbox.com (Shawn Milo)
- Subject: [Javascript] Thanks & follow-up, was: Handling child window visibility...
- Date: Thu Aug 12 10:23:57 2004
Paul, Mat, and Hakan, Thanks for the advice. The following did the trick: <body onload="window.focus();"> I do not want to force the window to remain on top, so I will not be scripting the onblur event. Follow-up question: Although this works, it does not bring up the window until the page has loaded (obviously), and since the page is running some ASP code and reading from a database, it could take a few seconds. In that time, the person could click the button again, thus re-starting the entire process. So is there a way to, from JavaScript included on the main page, bring that window to the fore? If not, I suppose that I could always disable the button temporarily, and replace the button value with 'Please Wait'. Ideas? T Herman, That is a very useful-looking script. However, I can't use it here, because the new window is being opened by a form submission, not by a JavaScript event. Thank, all! Shawn
- Follow-Ups:
- [Javascript] Thanks & follow-up, was: Handling child windowvisibility...
- From: Matt Barton
- [Javascript] Thanks & follow-up, was: Handling child window visibility...
- From: Hassan Schroeder
- [Javascript] Thanks & follow-up, was: Handling child windowvisibility...
- References:
- [Javascript] Handling child window visibility...
- From: Shawn Milo
- [Javascript] Handling child window visibility...
- From: Paul McGuire
- [Javascript] Handling child window visibility...
- Prev by Date: [Javascript] Handling child window visibility...
- Next by Date: [Javascript] OT: Beverages (was Weather Reports)
- Previous by thread: [Javascript] Handling child window visibility...
- Next by thread: [Javascript] Thanks & follow-up, was: Handling child windowvisibility...
- Index(es):