Go back in original window from popup
I have a window that pops up when the user clicks on a link which warns them that they are leaving the site. The popup window's contents are very basic. All it says is:
You are now leaving our site. To go back, hit the back button on your browser window or click here.
The word here being a link (in theory) to go back to the page they came from but IN THE ORIGINAL WINDOW not the popup window. How would I do this? The other issue I don't know how to deal with is how do I set it to automatically close after a certain amount of time?
I was thinking something like this:
<a href="mypage.html" onclick="history.go(-1">here</a> but how do I make it go back in the other document window?
OK forget what I said before. I got this script from http://www.codelifter.com/main/javas...sewindow1.html which I am using now. Now all I want to do is to make the original page go to a certain link. How would I do that? Because right now, the link just opens up the popup window and then the popup window closes after 20 seconds and that's all. No back button, no link. Anyone know what I should do?
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)