I am looking for advice as to how to do the following:
1. On site A, we have a "download a file" button
2. When the user clicks on that button, a new window opens with some html from site B
3. The user can click on a download button in that new window to start downloading the file - the window closes when the download button is clicked.
4. The user can also close the window by clicking on a normal window control (e.g. X in upper right corner).
Any guidance/pointers appreciated.