[nycphp-talk] More Client-Side Grief
D C Krook
dkrook at hotmail.com
Tue Oct 29 12:09:26 EST 2002
Hans,
I'm currently using this script myself for that purpose:
>From a link:
<a href="javascript:closeNewURL(this,'new.html')">Go</a>
>From a button:
<input type="button" onclick="closeNewURL(this,'new.html')">
// Close the popup and go to a new URL in the parent.
function closeNewURL (winPop, strURL) {
winPop.opener.location.href = strURL;
winPop.close();
}
I've also got a library of functions for this same project available here:
http://krook.org/js/functions.js
_________________________________________________________________
Unlimited Internet access for only $21.95/month. Try MSN!
http://resourcecenter.msn.com/access/plans/2monthsfree.asp
More information about the talk
mailing list