Blame | Last modification | View Log | RSS feed
<!-- Retrocompatibilité avec l'ancien mode ajax-->
<script type="text/javascript">
function resizeIframe(iframe) {
iframe.height = (iframe.contentWindow.document.body.scrollHeight+20)+'px';
window.requestAnimationFrame(() => resizeIframe(iframe));
}
</script>
<iframe id="ajax-widget-photo<?php echo $id;?>" src="<?php echo $url_widget; ?>" onload="resizeIframe(this);" frameBorder="0" style="width: 100%;"></iframe>