mhamilton3
Programmer
- Oct 31, 2001
- 129
Hello,
I have what seems like a simple questions, but I can not find the solution. I want to popup a window, print the window, and close down the window once the print / cancel print has happended. I do not have a problem poping it up, or printing it, but it is the closing it down that is a little goofy. The code is simply.
window.print();
opener.focus();
The parent program has code that closes the child as soon as the parenet comes into focus. The problem is the screen pops up, then it goes away and comes back up with the print dialog box. The flash of the screen does not make any sense to me. It does print and then go away, but I don't like the flash.
I used to have
window.print();
window.close();
but that did not work on the MAC (OS 10.2) with IE 5.2. I will try anything. Thanks
I have what seems like a simple questions, but I can not find the solution. I want to popup a window, print the window, and close down the window once the print / cancel print has happended. I do not have a problem poping it up, or printing it, but it is the closing it down that is a little goofy. The code is simply.
window.print();
opener.focus();
The parent program has code that closes the child as soon as the parenet comes into focus. The problem is the screen pops up, then it goes away and comes back up with the print dialog box. The flash of the screen does not make any sense to me. It does print and then go away, but I don't like the flash.
I used to have
window.print();
window.close();
but that did not work on the MAC (OS 10.2) with IE 5.2. I will try anything. Thanks