Skip to content

Instantly share code, notes, and snippets.

@mmattax
Created June 5, 2013 19:09
Show Gist options
  • Save mmattax/5716352 to your computer and use it in GitHub Desktop.
Save mmattax/5716352 to your computer and use it in GitHub Desktop.
Barebones EmbedKit HTML
<!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