Skip to content

Commit

Permalink
Hide message form scroll bar
Browse files Browse the repository at this point in the history
  • Loading branch information
harrymt committed Dec 8, 2017
1 parent 4be4241 commit 63eae1d
Showing 1 changed file with 19 additions and 1 deletion.
20 changes: 19 additions & 1 deletion _includes/message-form.html
Original file line number Diff line number Diff line change
@@ -1 +1,19 @@
<div class="typeform-widget" data-url="https://harrymt.typeform.com/to/BZDT8C" data-transparency="50" data-hide-headers=true data-hide-footer=true style="width: 100%; height: 350px;" > </div> <script> (function() { var qs,js,q,s,d=document, gi=d.getElementById, ce=d.createElement, gt=d.getElementsByTagName, id="typef_orm", b="https://embed.typeform.com/"; if(!gi.call(d,id)) { js=ce.call(d,"script"); js.id=id; js.src=b+"embed.js"; q=gt.call(d,"script")[0]; q.parentNode.insertBefore(js,q) } })() </script> <div style="font-family: Sans-Serif;font-size: 12px;color: #999;opacity: 0.5; padding-top: 5px;" > powered by <a href="https://www.typeform.com//?utm_campaign=BZDT8C&amp;utm_source=typeform.com-389157-Basic&amp;utm_medium=typeform&amp;utm_content=typeform-embedded-poweredbytypeform&amp;utm_term=EN" style="color: #999" target="_blank">Typeform</a> </div>
<div class="typeform-widget" data-url="https://harrymt.typeform.com/to/BZDT8C" data-transparency="50" data-hide-headers=true data-hide-footer=true style="width: 100%;height: 350px;" > </div>
<script>
(function() {
var qs,js,q,s,d=document, gi=d.getElementById, ce=d.createElement, gt=d.getElementsByTagName, id="typef_orm", b="https://embed.typeform.com/";
if(!gi.call(d,id)) {
js=ce.call(d,"script");
js.id=id;
js.src=b+"embed.js";
q=gt.call(d,"script")[0];
q.parentNode.insertBefore(js,q);
}
setTimeout(function() {
var frame = document.querySelector('iframe');
frame.addEventListener("load", function() {
frame.setAttribute('scrolling', "no");
});
}, 1000);
})();
</script>

0 comments on commit 63eae1d

Please sign in to comment.