|
Hi,
I have a contact page which is opening in a new window using window.open. Since this is called when the user clicks a link, pop up blocker don't block it.
However, I want to show a survey after this window has been closed. I find nothing else but to use window.open. But this time, I use the onunload tag in the opened window. This is blocked by pop up blockers.
Is there a way to print my survey, whatever it is, from a window opened by the user and poping on the onunload event?
Thanks for any idea,
Stephane
|
|
|
Options:
1) Show the survey in the already opened window.
2) In the main window, show a link to the survey, so users can choose to fill it out or not.
3) Have the child window write the survey into a <div> in the parent page, via a script, before closing itself with self.close().
4) Have the script that opens the child window ALSO write the survey to the main window.
5) Have the script that opens the child window, open TWO child windows.
and so on. In short, don't use the onunload event handler at all.
|
|
|
|
|
|
|
|
|
|