-
AuthorPosts
-
February 25, 2019 at 10:18 pm #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!February 25, 2019 at 10:28 pm #1071494Hi!
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
MichaelFebruary 25, 2019 at 10:54 pm #1071508Thanks 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! :)
February 25, 2019 at 11:34 pm #1071533As 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).February 26, 2019 at 12:12 am #1071552Alright :) New coded button it is :P Good to know!
Thanks a lot!
March 1, 2019 at 7:10 am #1072925Hi 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,
RikardMarch 1, 2019 at 10:23 am #1073012Thanks for the help! I got it! :)
You can close it!March 3, 2019 at 7:26 am #1073833 -
AuthorPosts
- The topic ‘Adding a Popup from Mailchimp to a Button’ is closed to new replies.