howdoesthiswork
Technical User
Hi there
My problem is the following, I have a page from which I open a popup(this parent page stays open), on the popup are two documents listed from which the user can choose one. When he clicks on one of the document links, the popup closes and opens the document in a new full window.
On the popup
So far it works with the exeption that the popup does not close ... I have tried self.close() but only managed to mess things up further. Any ideas?
My problem is the following, I have a page from which I open a popup(this parent page stays open), on the popup are two documents listed from which the user can choose one. When he clicks on one of the document links, the popup closes and opens the document in a new full window.
On the popup
Code:
<a href="doc1.pdf" onclick="window.open(this.href, 'child'); return false">Doc 1</a>
Code:
<a href="doc2.pdf" onclick="window.open(this.href, 'child'); return false">Doc 2</a>
So far it works with the exeption that the popup does not close ... I have tried self.close() but only managed to mess things up further. Any ideas?