• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 135
  • Last Modified:

How to close multiple PDF files

I have a main ASP page that used window.open to open multiple PDF files. Is it a way to all the PDF files before second execution being carried out from the main ASP?
0
agnes78
Asked:
agnes78
  • 3
1 Solution
 
VirusMinusCommented:
when you open popups, give them a name, e.g.

window.open("mydoc.pdf", "myPopup", "width=300,height=200");

now when you want to this popup do this ->  top.mypopup.close();

0
 
VirusMinusCommented:
Hi Agnes,

I hope my solution worked. If not you could have asked me for clarification. Without giving experts a chance to know if the solution worked for you or askiing for more information it is not fair to award a grade of 'C'. Please refer to Experts Exchange help on Grading -> http://www.experts-exchange.com/help.jsp#hi73 , I can see this is the first question you've asked and I understand you may not know how the system works in its entirety.

But, your previous grading history can be viewed by anyone by clicking on your name and viewing your profile. Experts would be hesitant to help you in future if your history shows you've been grading unfairly. Also a grade of 'C' does not cost you any extra points.

I recommend you post a free question in the Community Support Area -> http://www.experts-exchange.com/Community_Support/  requesting either a grade change or reopen the question if you would like more information about your question.

Cheers
VM
0
 
VirusMinusCommented:
Thanks GhostMod...
0

Featured Post

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

  • 3
Tackle projects and never again get stuck behind a technical roadblock.
Join Now