1. <iframe onload="AdjustIframeHeightOnLoad()" scrolling="no" name="autoiframe" id="autoiframe" src="aktualnosci.html"></iframe>


  1. <script type="text/javascript">
  2. function AdjustIframeHeightOnLoad() { document.getElementById("autoiframe").style.height = document.getElementById("autoiframe").contentWindow.document.body.scrollHeight + "px"; }
  3. function AdjustIframeHeight(i) { document.getElementById("autoiframe").style.height = parseInt(i) + "px"; }


[WSZYSTKO W SEKCJI <BODY></BODY>]

Podczas ładowania zawartości do ramki jej wysokość zwiększa się po załadowaniu strony większej od ramki jednak gdy wracam na stronę mniejszą wysokość pozostaje taka sama. Proszę o pomoc smile.gif