Support » Plugin: Facebook Page Promoter Lightbox » link to triger the plugin

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Arevico

    (@arevico)

    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

    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?

    Plugin Author Arevico

    (@arevico)

    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

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘link to triger the plugin’ is closed to new replies.