Facebook Page Promoter Lightbox
[resolved] link to triger the plugin (4 posts)

  1. joelymoley
    Posted 3 years ago #

    hey guys, just wanted to know a link i can type to trigger the plugin, i don't want it automatically loading, i want users to click on a button which loads it, thanks :)


  2. Arevico
    Plugin Author

    Posted 3 years ago #

    The javascript method we use to invoke the lightbox is show_facebox();

    So if you want to only enable it on a button click you must add the
    onclick="show_facebox();" attribute on that link. Also, if you don't want to popup automatically, remove any reference to that function in scs/launch.js

  3. joelymoley
    Posted 3 years ago #

    hey mate, please excuse my noobness but where would i add this onclick="show_facebox();" attribute? little confused about removing those references from the launch.js :( guessing there is no http://www.website.com/facebookappcall.xx that i can use to launch the plugin?

  4. Arevico
    Plugin Author

    Posted 3 years ago #

    You need to switch to html view and add the following code:

    <a href="#" onclick="show_facebox();">link text</a>

    Please note that the show once every x days option is taken into account. So you may need to set it to 0 and have a very high delay

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Facebook Page Promoter Lightbox
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic


No tags yet.