Pop up code problem

by 2 replies
2
Hi all. I have and opt in form on my index page and I want to show a pop up when a prospect exits with out filling in the form. I put pop code there and of course it pops up during refresh, x'ing the page closed and even when I fill in the form.
I used this code but it does not disable the code.

<center><form onSubmit="throughlink();" method="post"
action="YOURMERCHANTACCOUNTURL"><input type="image"
src="IMAGE.JPG" border="0"></a></center>

Can someone please suggest a code to use to have the pop activate only when someone leaves without opting in?
#main internet marketing discussion forum #code #pop #problem
  • Thanks for your responses, Trev
  • I just spent hours trying to figure this out too

    It works for me when that code is at the end of the form submit action code with paypal links ... like this

    <form method="post" action="YOURMERCHANTACCOUNTURL" onSubmit="throughlink();">

    And for typical <a href> links I use target="blank" to open links in a new window and it doesn't trigger the pop up

Next Topics on Trending Feed

  • 2

    Hi all. I have and opt in form on my index page and I want to show a pop up when a prospect exits with out filling in the form. I put pop code there and of course it pops up during refresh, x'ing the page closed and even when I fill in the form. I used this code but it does not disable the code.