Popup Code Question

Status
Not open for further replies.

jpet10

New member
Oct 7, 2008
203
0
0
I have a site that I want to use exit popups on. I know you can put code in your links you don't want to generate the pop. Is their a way to block out an entire area that you don't want to generate the popup?

Say I just wanted the popup to be generated on leaving the page, but not from clicking on a link in the body, how would I do that?
 


thanks boss, im still a newb to coding. But right now i have it set to pop beforeunload which is working fine. But im still confused on how to allow it to pop when someone tries to leave, but not pop when they click on the links in the body.

Ya know those pops that ya get when you try and leave an acai offer, the "are you sure you want to leave" as it redirects you to the form. This would be ideal for what i want. Obviously I would customize where it redirects to, but thats the concept im looking for.
 
Status
Not open for further replies.