I've successfully created a pop-up window (using window.open command) in which I display a jpeg image.
I've had no problem automatically closing the window (named newWind) using a javascript command like "newWind.close()" which is executed upon an onUnload or onClick.
Now, rather than linking a jpeg image inside the pop-up window, I am linking a PowerPoint presentation. For some reason, the window will no longer automaticaly close. It's as if the javascript name for the window changes but only when the PowerPoint presentation is loaded within the window.
Does anybody know the code to close this pop-up window? Perhaps javascript code that would close all pop-up windows?
I've had no problem automatically closing the window (named newWind) using a javascript command like "newWind.close()" which is executed upon an onUnload or onClick.
Now, rather than linking a jpeg image inside the pop-up window, I am linking a PowerPoint presentation. For some reason, the window will no longer automaticaly close. It's as if the javascript name for the window changes but only when the PowerPoint presentation is loaded within the window.
Does anybody know the code to close this pop-up window? Perhaps javascript code that would close all pop-up windows?