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

Материал из Ролевой сервер "tales.pw"
Перейти к:навигация, поиск
 
(не показана 21 промежуточная версия этого же участника)
Строка 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"; }
+
    height="1100px"
−
</script>
 
−
 
 
−
<iframe src="https://test.tales.pw/{name}"
 
 
     width="100%"
 
     width="100%"
 
     frameborder='no'
 
     frameborder='no'
−
     onload="AdjustIframeHeightOnLoad()"
+
     scrolling="no"  
−
/>
+
></iframe>

Текущая версия на 23:13, 25 июля 2019

<iframe

   src="https://test.tales.pw/"
   height="1100px"
   width="100%"
   frameborder='no'
   scrolling="no" 

></iframe>