Add a POPUP Screen

Discussion related to NP Subscriber Pro.

Add a POPUP Screen

Postby stevan » Wed Oct 24, 2007 5:29 pm

If anyone would like to do a popup screen after they enter a email adress or a error message


<script>
function redirectOutput(myForm) {
var w = window.open('about:blank','Popup_Window','menubar=no, toolbar=no, location=no, width=650, height=400, scrollbars=yes');
myForm.target = 'Popup_Window';
return true;
}
</script>

<table width="147" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="159">
<form action=http://www.url/cgi-bin/subscriber.cgi method="post" onSubmit="redirectOutput(this)">
Email Address : <input type=text size=20 name=address><BR>
<font size=-1>
<input type=radio name=action value=Subscribe checked> Subscribe<BR>
<input type=radio name=action value=Unsubscribe> Unsubscribe<BR>
<input type=hidden name=lists value={LIST NAME }>
<input type=submit value="Submit">
</font>
</form>
stevan
 
Posts: 13
Joined: Sat Oct 20, 2007 9:34 am

Return to Subscriber Pro

Who is online

Users browsing this forum: Google [Bot] and 1 guest

cron