-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix passing query string to TypeForm
- Loading branch information
Showing
1 changed file
with
34 additions
and
1 deletion.
There are no files selected for viewing
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
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> |