![]() Preserved Topic: window.close  | 
  |
|---|---|
| Author | Thread | 
| 
       Paranoid (IV) Inmate From: New Jersey, USA  | 
    
       
  posted 02-04-2003 00:56
      
      Hi guys, code: //Written by Bitdamaged 
 code: <body onload="progressWindow.close();"> 
  | 
  
| 
       Lunatic (VI) Mad Scientist From: Massachusetts, USA  | 
    
       
  posted 02-04-2003 01:04
      
      Well, the problem is, when a new page loads, all of your JavaScript variables are lost. So progressWindow no longer refers to the open window.  | 
  
| 
       Paranoid (IV) Inmate From: New Jersey, USA  | 
    
       
  posted 02-04-2003 01:23
      
      Thanks very much Slime!  | 
  
| 
       Paranoid (IV) Inmate From: Sthlm, Sweden  | 
    
       
  posted 02-04-2003 13:43
      
      Not sure if I got this right bu this is how I did it when I had a main-application window that spawned sub-applications in their window. code: function isAliveCheck(){
 code: function checkOpener(){
  | 
  
| 
       Paranoid (IV) Inmate From: New Jersey, USA  | 
    
       
  posted 02-04-2003 14:17
      
      Thanks DmS, I may have to mess around with that and see if I can make it work.  |