Widget:Charsheet

Материал из Ролевой сервер "tales.pw"
Перейти к:навигация, поиск

<iframe

   src="https://test.tales.pw/"
   width="100%"
   frameborder='no'
   id="target"

/>

<script type="text/javascript">

       var div = document.getElementById("target"); 
       div.onload = function() { 
           div.style.height = 
             div.contentWindow.document.body.scrollHeight + 'px'; 
       } 
       alert("test");

</script>