• Post Reply Bookmark Topic Watch Topic
  • New Topic

JavaScript window.closed on PDF/DOC Window  RSS feed

 
Scott Selikoff
author
Bartender
Posts: 4093
21
Eclipse IDE Flex Google Web Toolkit
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have two HTML/JavaScript windows open, one working as a pop-up controller for the other. Normally, if the controller wants to know if the second window is open it just calls something like:



The second window has access to general web searching. Works perfectly fine. In some cases, the second window opens PDF/Doc Files (within the browser) and windowB.closed becomes true even though the window is still open.

Any idea on how to fix this?
[ January 16, 2008: Message edited by: Scott Selikoff ]
 
Eric Pascarello
author
Rancher
Posts: 15385
6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
If you open the pdf directly, you basically loose control of thw window.

Eric
 
Scott Selikoff
author
Bartender
Posts: 4093
21
Eclipse IDE Flex Google Web Toolkit
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Well in adobe/word yes, but what about if it stays within a browser frame?
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!