how to make pop up page after close button clicked?

3 replies
Is there anyone know how to make or where to outsource for special discount or free download pop up once the close (x) button clicked? Like this website Fat Loss Factor By Dr. Charles Livingston or Truth About Cellulite Video Presentation | Truth About Cellulite
#button #clicked #close #make #page #pop
  • Profile picture of the author PeckhamPirate
    Try a search on the forum for exit pop up, I've seen a few avertised in the WSO section.
    Also have a look in the WordPress Plug-In repository, there may well be some free ones available.

    Worth noting that you don't find too many sites on page 1 of Google that make it difficult to leave...
    Signature
    Stylish, affordable web design, translation and copywriting.
    I'm available for hire...

    EnglishEffect.com
    {{ DiscussionBoard.errors[8761530].message }}
  • Profile picture of the author dengkane
    It can be done by adding JavaScript codes into the web page.

    Following is an example, but the new window will be blocked by browsers.

    Code:
    <html>
    <SCRIPT language="JavaScript">
    window.onbeforeunload = confirmExit;
    function confirmExit(){
        window.open("http://www.w3schools.com");
        return false;
    }
    </SCRIPT>
    
    <body>
    </body>
    </html>
    {{ DiscussionBoard.errors[8761562].message }}
  • Profile picture of the author JohnZ
    I'm sure there's a ton out there but here's one I know of on Code Canyon that is pretty easy to use and has some flexibility and options you may want such as being able to cookie visitors so they will only see it once etc. There's a demo vid you can check out to learn more about it and see how it works.

    WordPress - Easy Exit Popup Manager for WordPress | CodeCanyon
    Signature
    {{ DiscussionBoard.errors[8762100].message }}

Trending Topics