Graham
Iframe code so that the iframe fills the container to max height the screen can show without the header and footer
<div class="xt_container" ><iframe class="myiframe" src=""></iframe></div>
<script type="text/javascript">
var ih = window.innerHeight;
var oh = window.outerHeight;
var hght=(ih-(oh-ih)-32);
var styl = document.createElement("style");
var t = document.createTextNode(".myiframe {width:100%;height:"+hght+"px;border:1px solid red}");
styl.appendChild(t);
document.head.appendChild(styl);
</script>
Copy code
if xtauth is skipped you do not need the
-32