View Full Version : Detect popup window close, redirect to...

07-29-2011, 08:37 PM

I am trying to work on the following:
You open the cart page and click the pay now button, that button opens a new window. I am trying to write (and I bet this is easy but I can't seem to get it) a script so that when it detects that window closing to automatically forward the main page to an account page.

Is it something like:

<script type="text/javascript">
if (window.opener.progressWindow)


I am no programmer :o

EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum