Photo test v5

This commit is contained in:
Arthur 2019-08-28 13:01:35 +02:00
parent 032b8a90a4
commit 4366cf1245
2 changed files with 4 additions and 3 deletions

View file

@ -4,7 +4,7 @@ ob_start(); // Start reading html
-TEXTE-
<br><br>
<iframe src="https://docs.google.com/forms/d/e/1FAIpQLSeQ6ldsTuBGNN5hnp7KP_tt2rRuvRREJMvohjwsOhXCVCnECw/viewform?embedded=true" frameborder="0" scrolling="no" onload="resizeIframe(this)">Chargement…</iframe>
<iframe src="https://docs.google.com/forms/d/e/1FAIpQLSeQ6ldsTuBGNN5hnp7KP_tt2rRuvRREJMvohjwsOhXCVCnECw/viewform?embedded=true" onload="resizeIframe(this)">Chargement…</iframe>
<?php

View file

@ -45,8 +45,9 @@ require_once $relativePath.'includes/score_functions.php';
})();
</script>
<!-- End Matomo Code -->
<script>
function resizeIframe(obj) {
<script type="text/javascript">
function resizeIframe(obj){
obj.style.height = 0;
obj.style.height = obj.contentWindow.document.body.scrollHeight + 'px';
}
</script>