WordPress.org

Ready to get started?Download WordPress

Forums

Facebook Page Promoter Lightbox
[resolved] Pop-up upon Exit (4 posts)

  1. derekonomy
    Member
    Posted 2 years ago #

    I'm using the Facebook Page Promoter Lightbox.

    I was wondering how I can make the light box pop-up on exit (onunload), rather than ask for their likes onload.

    Thanks.

    http://wordpress.org/extend/plugins/facebook-page-promoter-lightbox/

  2. Arevico
    Member
    Plugin Author

    Posted 2 years ago #

    I cannot recommend this behaviour, but it is posisble in some browsers.

    Add the code show_box() to a calkback specified at the onbeforeunload variable. Make sure to return false.

    Onbeforeunloadmis very annoying as it will ask the user to stay on the same page first, then popup the lightbox. It is also inconsistent acros browsers.

  3. RUMOR.lt
    Member
    Posted 2 years ago #

    I am using the same plugin. The pop up comes up every time i enter the site. How to set that the popup will be shown only to people who havent pressed like ?
    Sorry for the grammar.

    Blog: http://rumor.lt

  4. Arevico
    Member
    Plugin Author

    Posted 2 years ago #

    No this is not possible without the visitor approving a application and thus not in this plugin or any other plugin that doesn´t use a authentication dialog. We recommend smart usage of the show once and the delay settings.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic