-
-
Save kanwei/0638e041048755d37e53d09d45db0db1 to your computer and use it in GitHub Desktop.
Double the Donation + Online Express
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<script>var DDCONF = { API_KEY: "XXXXXXXXXXXXX" };</script> | |
<script src="https://doublethedonation.com/api/js/ddplugin.js"></script> | |
<link href="https://doublethedonation.com/api/css/ddplugin.css" rel="stylesheet"/> | |
<script type="text/javascript"> | |
jQuery(document).ready(function () { | |
var testAppearTmr = setInterval(function () { | |
if (jQuery('.BBFormConfirmation').length) { | |
clearInterval(testAppearTmr); | |
jQuery('.BBFormConfirmation').before("<p>Please use the search tool to see if your company will match your donation!</p>"); | |
jQuery('.BBFormConfirmation').before(jQuery("<div id='dd-container'></div>")); | |
doublethedonation.plugin.load_plugin(); | |
} | |
}, 250); | |
// Handler for .ready() called. | |
}); | |
</script> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment