Skip to content

Instantly share code, notes, and snippets.

Denis Tseplik tseplik

Block or report user

Report or block tseplik

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@tseplik
tseplik / clickable-element.html
Last active Jun 3, 2016 — forked from scottmagdalein/clickable-element.html
Make the Mailchimp Subscriber popup appear on click
View clickable-element.html
<!-- This is the HTML element that, when clicked, will cause the popup to appear. -->
<body>
...
<button id="open-popup" class="btn btn-danger btn-lg btn-block" onclick="showMailingPopUp()">Subscribe!</button>
...
<script type="text/javascript" src="//s3.amazonaws.com/downloads.mailchimp.com/js/signup-forms/popup/embed.js" data-dojo-config="usePlainJson: true, isDebug: false"></script>
<script src="assets/js/mailchimp_popup.js"></script>
...
You can’t perform that action at this time.