Skip to content

Commit

Permalink
Fix passing query string to TypeForm
Browse files Browse the repository at this point in the history
  • Loading branch information
banderror committed Aug 7, 2019
1 parent 1ed661c commit 8de6af0
Showing 1 changed file with 34 additions and 1 deletion.
35 changes: 34 additions & 1 deletion index.html
Original file line number Diff line number Diff line change
@@ -1 +1,34 @@
<html> <head> <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0"> <title>MSB - Private Beta</title> <style type="text/css"> html{ margin: 0; height: 100%; overflow: hidden; } iframe{ position: absolute; left:0; right:0; bottom:0; top:0; border:0; } </style> </head> <body> <iframe id="typeform-full" width="100%" height="100%" frameborder="0" src="https://jordan447225.typeform.com/to/bkjeuC"></iframe> <script type="text/javascript" src="https://embed.typeform.com/embed.js"></script> </body> </html>
<html>
<head>
<meta
name="viewport"
content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0"
/>
<title>MSB - Private Beta</title>
<style type="text/css">
html {
margin: 0;
height: 100%;
overflow: hidden;
}
#typeform-full {
position: absolute;
left: 0;
right: 0;
bottom: 0;
top: 0;
border: 0;
}
</style>
</head>
<body>
<div id="typeform-full" width="100%" height="100%"></div>
<script src="https://embed.typeform.com/embed.js"></script>
<script>
var container = document.querySelector("#typeform-full");
var url = "https://jordan447225.typeform.com/to/bkjeuC" + location.search;

typeformEmbed.makeWidget(container, url);
</script>
</body>
</html>

0 comments on commit 8de6af0

Please sign in to comment.