View Full Version : Popup Problem
stevan
01-03-2003, 03:20 AM
I want to use a send mail script on a popup window
How would i make it close when they send the mail to me
Here is the last line of the script
<input type="submit" value="Submit"></form>
Thxs STeve
glenngv
01-03-2003, 03:30 AM
do you own the send mail script? If you do, you can edit it to output html like this after sending the mail:
<html>
<head>
<script language="javascript">
<!--
setTimeout("window.close()",2000); //2 secs
//-->
</script>
</head>
<body>
The mail has been successfully sent.
</body>
</html>
stevan
01-03-2003, 03:45 AM
Where do I apply the script you sent me ??
Just thought about it on the redirect screen ???
I was trying to get away from that but i quess i have to ???
Thxs
Steve
glenngv
01-03-2003, 03:51 AM
You did not answer my question. Do you own the send mail script?
You should edit this script to generate the html I posted.
stevan
01-03-2003, 03:53 AM
It is supplied by my web host company
Free of charge to use on my sites i have with them
Steve
vBulletin® v3.8.2, Copyright ©2000-2012, Jelsoft Enterprises Ltd.