iceafreak99
05-01-2003, 06:32 PM
First I have a script that opens two windows at once.
<script>
function doit(){
var w = screen.width - 7;
var h = screen.height/2;
var timer=window.open("timer.php", "timer","width="+w+",height=75");
timer.moveTo(0,0);
var spend=window.open("forkover.php","spend","status,left=0,width="+w+",height="+screen.height*.73);
spend.moveTo(0,120);
}
</script>
Ok if someone closes the window timer, how do I have the spend window redirect to a new page?
<script>
function doit(){
var w = screen.width - 7;
var h = screen.height/2;
var timer=window.open("timer.php", "timer","width="+w+",height=75");
timer.moveTo(0,0);
var spend=window.open("forkover.php","spend","status,left=0,width="+w+",height="+screen.height*.73);
spend.moveTo(0,120);
}
</script>
Ok if someone closes the window timer, how do I have the spend window redirect to a new page?