Created
June 5, 2013 19:09
-
-
Save mmattax/5716352 to your computer and use it in GitHub Desktop.
Barebones EmbedKit HTML
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> | |
<script src="//www.formstack.com/api/js/1.0.0/embedkit.js"></script> | |
</head> | |
<body onload="init();"> | |
<div id="embed" style="width:800px;"></div> | |
<script> | |
function responseHandler(res) { | |
console.log(res); | |
} | |
function init() { | |
console.log('loading the embed kit...'); | |
Formstack.EmbedKit.iframe({ target : 'embed', guides : ['donation']}, responseHandler); | |
} | |
</script> | |
</body> | |
</html> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment