closing popups from parent windows.

D

del

can i close a popup window containing a .xls or .doc file
from a parent window. the current method i am trying

<SCRIPT LANGUAGE="JavaScript"><!--
function PrintClaim() {

windowHandle = window.open('Claim
xample.xls','','width=793,height=190,top=493,left=201,
readonly');

setTimeout('windowHandle.close()',5000);
//-->
}
</SCRIPT>

will only close .htm files. Is this due to me running
macros in these office popups.

Alternatively if this cannot be done, can i create a popup
window which has the office file attached or embeded
inside, i.e. a .htm window with an .xls file attached.
Another possible idea would be for me to attach an event
like window.close to the popup from the parent but i'm not
sure if this can be done.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top