Last active
July 18, 2017 20:39
-
-
Save bluepnume/310341ef7e37efcf92a74f4e210d2bcf to your computer and use it in GitHub Desktop.
This file contains hidden or 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> | |
<head> | |
<meta http-equiv="X-UA-Compatible" content="IE=edge" /> | |
<script src="https://www.paypalobjects.com/api/checkout.js"></script> | |
<script src="http://cdnjs.cloudflare.com/ajax/libs/ScrollMagic/2.0.5/ScrollMagic.min.js"></script> | |
</head> | |
<body> | |
<div id="container"> | |
<div id="paypal-button-container"></div> | |
<script> | |
paypal.Button.render({ | |
payment: function(data, actions) { | |
}, | |
onAuthorize: function(data, actions) { | |
} | |
}, '#paypal-button-container'); | |
</script> | |
</div> | |
<script> | |
new ScrollMagic.Scene().setPin("#container") | |
</script> | |
</body> | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment