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
.htaccess | |
*~ | |
.DS_Store | |
.svn | |
.cvs | |
*.bak | |
*.swp | |
Thumbs.db | |
test/ |
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
<?php | |
/* | |
* This is a simple example script for testing valid calls to the Donately API in PHP | |
* Edit this script and test locally | |
* | |
* Note: if you are testing on a remote server don't put your password in this file, | |
* but use the auth token instead - then renew your token when you're done testing | |
* | |
* Bryan Shanaver CTO - Donately / Fiftyandfifty |
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
<!DOCTYPE html> | |
<html> | |
<head> | |
<title>test</title> | |
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.10.2/jquery.min.js"></script> | |
<script type="text/javascript"> | |
jQuery( window ).load(function() { | |
// pre-check the recurring option | |
jQuery('#donately-recurring-donation').prop('checked', true); |
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
<html> | |
<head> | |
<title>Donation Form</title> | |
<link type="text/css" rel="stylesheet" media="all" href="https://www.dntly.com/assets/js/v1/form-inner.css"> | |
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.10.2/jquery.min.js"></script> | |
<script type="text/javascript" charset="utf-8" defer="defer"> | |
var donately_account_id = '198', | |
campaign_id = '0', | |
fundraiser_id = '0'; |
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 src='https://www.dntly.com/assets/js/v1/form.js' | |
data-donately-id='1' | |
data-donately-css-url="https://fiftyandfifty.github.io/donately/css/donately-submit-styles.css" | |
</script> |
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 src='https://www.dntly.com/assets/js/v1/form.js' | |
data-donately-id='1'> | |
</script> |
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
.box-sizing { | |
box-sizing: border-box; | |
-moz-box-sizing: border-box; | |
-webkit-box-sizing: border-box; | |
} | |
.donately-donation-form,.donately-thank-you { | |
font-size: 13px; | |
line-height: 1em; | |
position: relative; |
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
!(function ($){ | |
"use strict"; | |
window.FF_AJAX = {}; | |
var FF = window.FF_AJAX; | |
/* ================================================================ */ | |
/* */ | |
/* CROSS BROWSER AJAX */ |
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
<html> | |
<head> | |
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.10.2/jquery.min.js"></script> | |
<script type="text/javascript"> | |
jQuery( window ).load(function() { | |
function receiveMessage(event){ | |
try {var data = JSON.parse(event.data);} | |
catch (e) {var data = event.data;} | |
if(data.event == 'donately.success'){ | |
var chimpurl = 'https://us1.api.mailchimp.com/2.0/lists/subscribe.json'; |
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
<html> | |
<head> | |
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.10.2/jquery.min.js"></script> | |
<script type="text/javascript"> | |
jQuery( window ).load(function() { | |
function receiveMessage(event){ | |
try {var data = JSON.parse(event.data);} | |
catch (e) {var data = event.data;} | |
if(data.event == 'donately.loaded'){ | |
jQuery('#donately-one-time-donation').prop('checked', false); |