Widget:Charsheet: различия между версиями

Материал из Ролевой сервер "tales.pw"
Перейти к:навигация, поиск
Строка 1: Строка 1:
−
<script type="text/javascript">
+
<iframe
−
function AdjustIframeHeightOnLoad() { document.getElementById("form-iframe").style.height = document.getElementById("form-iframe").contentWindow.document.body.scrollHeight + "px"; }
+
    src="https://test.tales.pw/{name}"
−
function AdjustIframeHeight(i) { document.getElementById("form-iframe").style.height = parseInt(i) + "px"; }
 
−
</script>
 
−
 
 
−
<iframe src="https://test.tales.pw/{name}"
 
 
     width="100%"
 
     width="100%"
 
     frameborder='no'
 
     frameborder='no'
−
    onload="AdjustIframeHeightOnLoad()"
 
 
/>
 
/>

Версия 22:42, 25 июля 2019

<iframe

   src="https://test.tales.pw/{name}"
   width="100%"
   frameborder='no'

/>