• I created a button in plugin Shortcode Ultimate and include the follow code:

    [su_button onclick=”window.icegram.get_message_by_id(279).show();return false;”]Show me a Popup![/su_button]

    But when I click in the button, the popup doesn’t open…if I insert the code in a post:

    [icegram campaigns=”279″]

    the popup work

    I dont know why the “Advanced JavaScript code for onClick action” doesn’t work with Icegram…Anybody can help me???

    thanks,
    Lauro Pilatti

Viewing 1 replies (of 1 total)
  • Plugin Author Icegram

    (@icegram)

    Hi Lauro,

    Thank you for using Icegram.
    For message to trigger onclick of button within page, you must target campaign on that page.
    You can target page with Targeting rule or using shortcode as you have done.
    Hope this helps you.

    Thanks,
    Sandhya
    Team Icegram

Viewing 1 replies (of 1 total)

The topic ‘Problems with button created in Shortcodes Ultimate’ is closed to new replies.