dreamingdigital
10-03-2003, 06:14 AM
I'm looking for a script that will execute a popup window onSubmit of a form on enter.php then the next window (refer.php), when fully loaded, will close this popup window.
My fav popup script is:
var flashwin=null;
function popup(url,target,w,h){
settings='width='+w+',height='+h+',top=200,left=200,scrollbars=no,location=no,directories=no,status= no,menubar=no,toolbar=no,resizable=yes';
flashwin=window.open(url,target,settings);
}
On enter.php I have: <form onSubmit="popup('processing.htm','processing','220','120')">
What do I need in the <body onLoad=""> in refer.php to close this popup window?
:)
Colin
My fav popup script is:
var flashwin=null;
function popup(url,target,w,h){
settings='width='+w+',height='+h+',top=200,left=200,scrollbars=no,location=no,directories=no,status= no,menubar=no,toolbar=no,resizable=yes';
flashwin=window.open(url,target,settings);
}
On enter.php I have: <form onSubmit="popup('processing.htm','processing','220','120')">
What do I need in the <body onLoad=""> in refer.php to close this popup window?
:)
Colin