• Resolved Arp Laszlo

    (@echoleaf)


    I see & understand the documentation for wrapping a link in a shortcode to open up an Icegram popup. What I’d like to do is dedicate a menu link that will open a popup when clicked. Any way to accomplish this?

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

    (@icegram)

    @echoleaf,

    Yes, you can do this.
    Target your campaign where this menu link is appeared.
    Set delay time of message as “-1”, so it will not display until someone click the menu.
    Then add window.icegram.get_message_by_id({{message_id}}).show(); code to onclick of menu.
    Replace the message_id with your message id.

    Hope this helps you.

    Thread Starter Arp Laszlo

    (@echoleaf)

    ‘to onclick of menu’ – you mean I need use soma javascript or jquery?

    Plugin Author Icegram

    (@icegram)

    @echoleaf,

    Yes, using javascript or jQuery you can chive this.

    Hope this helps you.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘How to use a menu link to open a popup?’ is closed to new replies.