Last active
August 11, 2019 22:02
-
-
Save brianaohern/40af0611b88236660ad1372bf180391d to your computer and use it in GitHub Desktop.
iFrame Conversion Example
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
<a id="iframeCover" class="om-trigger-conversion"></a> | |
<div id="formInstructions">Double Click Below to Get Started</div> | |
<iframe src="https://docs.google.com/forms/d/e/1FAIpQLScS9FplM0-5VouPWZareiRJjtIZLO_g5jcDW1eQ52k2W_2SyQ/viewform?embedded=true" width="500" height="520" frameborder="0" marginheight="0" marginwidth="0">Loading...</iframe> | |
<script type="text/javascript"> | |
var myIframeCover = document.querySelector('html div#om-{{id}} #iframeCover'); | |
myIframeCover.addEventListener("click", function() { | |
myIframeCover.style.display = 'none'; | |
}); | |
</script> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment