Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #1071487

    Hi guys!

    I’m sorry to ask that! I saw plenty of threads about exactly that problem but they didn’t help me that much… I’m kind of a noob you could say…
    So I wanted to add this code from Mailchimp (that creates a popup) to my button:
    <script type="text/javascript" src="//downloads.mailchimp.com/js/signup-forms/popup/unique-methods/embed.js" data-dojo-config="usePlainJson: true, isDebug: false"></script><script type="text/javascript">window.dojoRequire(["mojo/signup-forms/Loader"], function(L) { L.start({"baseUrl":"mc.us20.list-manage.com","uuid":"5d16b481dd4d7f425182909c7","lid":"171fe975db","uniqueMethods":true}) })</script>

    I tried a lot of the plugins some of you mentioned but as I saw they all create the popups and give me the code again or I can add them to the site so the popup shows up when you enter the site. But I want to let the popup show up when you press the button. I even tried to add the code somehow to the code below the Avia Layout Editor:
    [av_button label='JETZT DOWNLOADEN' link='manually,' link_target='' size='x-large' position='center' label_display='' icon_select='yes-right-icon' icon='ue82d' font='entypo-fontello' color='theme-color' custom_bg='#444444' custom_font='#ffffff' av_uid='av-jsg7p3ys' admin_preview_bg='']
    But again no clue how to add it there!

    I’m a little bit overwhelmed because nothing seems to work right as I wish.
    Hope you can help me somehow because I think I’m going crazy after this 5 hours of frustration :D
    Thanks a lot!

    #1071494

    Hi!

    You probably need to use the element Code Block from the Avia editor.
    In there you create this button and if clicked, your code will be executed.

    Cheers
    Michael

    #1071508

    Thanks for the quick answer!

    So I need to code my own button to work? I can’t use a Avia button? Just checking if I really understand it right :D

    Thanks for your help so far! :)

    #1071533

    As far as I know for what you want to achieve, yes, that’s correct.
    The Avia button doesn’t support custom code that comes with it I think (at least I have not seen an option to do that).

    #1071552

    Alright :) New coded button it is :P Good to know!

    Thanks a lot!

    #1072925

    Hi Sheraly93,

    Thanks for the update, please let us know if you should need any further help on the topic or if we can close it. Thanks @michaelh for helping out :-)

    Best regards,
    Rikard

    #1073012

    Thanks for the help! I got it! :)
    You can close it!

    #1073833

    Hi,

    Great, thanks for letting us know. Please open a new thread if you should have any further questions or problems.

    Best regards,
    Rikard

Viewing 8 posts - 1 through 8 (of 8 total)
  • The topic ‘Adding a Popup from Mailchimp to a Button’ is closed to new replies.