loader image
Passer au contenu principal
Accueil
Conditions d’achèvement

<iframe id="piframe" width="100%" src="URL DE LA VENTANA">iframe no soportado</iframe>

<script  type="text/javascript"  src="https://unisallevirtual.lasalle.edu.co/pluginfile.php/574590/mod_resource/content/2/js/jquery-3.3.1.min.js"></script>

<script type="text/javascript">

jQuery().ready(function ($) {

function load_shortcode() {

iframeNew = document.getElementById('piframe');

if (iframeNew) {

var iframeWin = iframeNew.contentWindow || iframeNew.contentDocument.parentWindow;

if (iframeWin.document.body) {

iframeNew.height = iframeWin.document.documentElement.scrollHeight || iframeWin.document.body.scrollHeight;

}

}

}

$(window).resize(function () {

load_shortcode();

});

window.onload = function () {

load_shortcode();

};

});

</script>

Modifié le: mardi 16 octobre 2018, 16:25