![]() |
what is the script for an exit popup? Hello warriors, I always see sites that when you click them away you get a popup that asked you if you really want to leave and if you press no you go to a special offer. I really want this on my website but I have no idea what this script is so could anybody help me? please? |
Re: what is the script for an exit popup? Code: <script language="javascript"> |
Re: what is the script for an exit popup? Quote:
Thank you Mr. phpg .. Great script .. |
Re: what is the script for an exit popup? Thank you this really helped me:D |
Re: what is the script for an exit popup? Do you also know how I can redirect them to another url when they click cancel? And how people who click on a link in the page or the buy now button don't get this popup? |
Re: what is the script for an exit popup? Quote:
Code: <script language="javascript"> |
Re: what is the script for an exit popup? Thanks, I now have put this code on my website, and the popup does redirect to the other page but it also still gives the popup when somebody clicks on the order button or the links where they can order, does somebody know how to let that go away? Code: <script language="javascript"> |
Re: what is the script for an exit popup? If that doesn't work for you as is, then there is something on your page conflicting with this script, so you'd better tell exact url where you are going to put it. |
Re: what is the script for an exit popup? Quote:
|
Re: what is the script for an exit popup? OK, try this, and place it near the end of your page, right before </body> or </html> Code: <script language="javascript"> |
Re: what is the script for an exit popup? Thanks it works :D |
Re: what is the script for an exit popup? Is this script worth using? Won't it get blocked? |
Re: what is the script for an exit popup? You can learn more Javascript in W3Schools |
Re: what is the script for an exit popup? JS redirects can be blocked by some browsers (and/or some extensions). I think some versions of IE might have an issue with it (or might cause some issues in the future).. I know that the php script (exitredirect) is more or less useless if they are using IE.. I think the most effective way of presenting exit offers is displaying a hidden div, and hiding the original pages content, onBeforeUnload that is populated with your exit redirect URL. That way there is no navigation taking place... One of the reasons for this, is that the user can see the exit offer (in most browsers) before even before clicking the confirm box (making the decision to stay or go). I found that I get a much higher success rate on my exit offers this way. I actually have a wordpress plugin that i wrote that does this. i can put up as a WSO if you all are interested... If you are interested Let me know jQuery is also really effective for exit offers. And once the script is written it requires less knowledge of html to make it work... If anyone wants any code samples of any of these, Let me know or PM me |
Re: what is the script for an exit popup? Ok. Here is a exit popup script I found on "Another Forum" Code: <script type="text/javascript" language="javascript"> |
Re: what is the script for an exit popup? How is this different than exitpop that Andy Fletcher gave away for free? |
Re: what is the script for an exit popup? Quote:
But i can say that I wrote this plugin and it is unique in that not only is it a very effective method of presenting multiple exit offers, you can modify the exit content based on time on page.. (IE if they bounce off the page they can see a different exit pop than if they are on the page for 5-10 minutes) which is pretty unique and different.. I am not aware of anyone else selling something like that |
Re: what is the script for an exit popup? Quote:
Or (if i remember correctly) if you look back through my posts, i have included some similar scripts as well. If i am wrong let me know and i will include one of my stand alone scripts... |
Re: what is the script for an exit popup? I'm just not sure why when someone opt's in, they still get the popup. Does this happen on your script also? |
Re: what is the script for an exit popup? Quote:
|
Re: what is the script for an exit popup? Quote:
Not sure if the script i copied to forum has that in it or not.. i certainly have a version of it somewhere... Let me know if it doesn't, in the standalone script i wrote, the links have: onClick="dontpop();" and forms have onSubmit="dontpop();" Then i have that function in the script which disables the pop. |
Re: what is the script for an exit popup? Do we have to upload in PHP file or HTML file... will it work in both one.. |
Re: what is the script for an exit popup? Theres a few WP plugins for POP UPS. Most PHP scripts are buggy with no direction. Guillermo- |
Re: what is the script for an exit popup? Quote:
PHP Code: |
Re: what is the script for an exit popup? Quote:
|
Re: what is the script for an exit popup? The script works great but I have the same problem with the order buttons. It will not pop when surfing between internal links but on the external order links it will pop open every 4th or 5th click even when I add onclick="exit=false" to the link or variations of that. Anyone have any ideas how to stop the popup when clicking on order gifs? |
Re: what is the script for an exit popup? I also have the same questions as you. Thank you for answering :) |
Re: what is the script for an exit popup? Hello Warriors, In jQuery exit pop-up is: <script type="text/javascript"> $(document).ready(function() { $(document).mousemove(function(e) { $('#exitpopup').css('left', (window.innerWidth/2 - $('#exitpopup').width()/2)); $('#exitpopup').css('top', (window.innerHeight/2 - $('#exitpopup').height()/2)); if(e.pageY <= 5) { // Show the exit popup $('#exitpopup_bg').fadeIn(); $('#exitpopup').fadeIn(); } }); $('#exitpopup_bg').click(function(){ $('#exitpopup_bg').fadeOut(); $('#exitpopup').slideUp(); }); }); </script> <style type="text/css"> #exitpopup { text-align:center; } #exitpopup h1 { margin-top:0px; padding-top:0px; } #exitpopup p { text-align:left; } </style> <div style="display: none; width:100%; height:100%; position:fixed; background:#000000; opacity: .8; filter:alpha(opacity=0.8); z-index:999998;" id="exitpopup_bg"> </div> <div style="width:670px; height:450px; margin:0px auto; display:none; position:fixed; color:#ffffff; padding:20px; -webkit-border-radius: 4px; -moz-border-radius: 4px; border-radius: 4px; z-index:999999; background:rgb(20, 20, 20); background:rgba(0, 0, 0, 0.8);" id="exitpopup"> <h1>Wait!!! Before you go...</h1> <p>Hello warriors this is the best answer for you<br /><br /> This is the best alternative for your question</p> <a href="#"><img src="letmeinnow.png" style="width:568px; height:190px" border="0" style="border:0px; margin:0px auto;" /></a> </div> |
| All times are GMT -6. The time now is 02:45 PM. |