Widget:Charsheet
Материал из Ролевой сервер "tales.pw"
Версия от 23:02, 25 июля 2019; Xunto (обсуждение | вклад)
<iframe
src="https://test.tales.pw/" width="100%" frameborder='no' id="target"
></iframe>
<script type="text/javascript">
var div = document.getElementById("target");
div.onload = function() {
alert(div.style.height);
div.style.height = div.contentWindow.document.body.scrollHeight + 'px';
}
</script>