Odd as it seems, I have the resizing working everywhere except IE9. I've tried everything I can think of, and everything I could find searching to no avail.
Here is the site: Link
Here is the resize code:
and the call to it:
Let all bear in mind that a society is judged not so much by the standards attained by its more affluent and privileged members as by the quality of life which it is able to assure for its weakest members.
Here is the site: Link
Here is the resize code:
Code:
<script type="text/javascript">
function iFrameHeight(iframeName)
{
var body = document.body,
html = document.documentElement;
if(document.getElementById && !(document.all))
{
h = document.getElementById(iframeName).contentDocument.body.scrollHeight;
var s = Math.max(body.offsetHeight, html.scrollHeight, html.offsetHeight, h);
document.getElementById(iframeName).height = s + "px";
}
else if(document.all)
{
h = document.frames(iframeName).document.body.scrollHeight;
var s = Math.max(body.offsetHeight, html.scrollHeight, html.offsetHeight, h);
document.all[iframeName].height = h + "px";
}
}
</script>
and the call to it:
Code:
<div id="divObject" class="left">
<iframe id="leftFrame" src="Home/Prayer.html" width="100%" onload="iFrameHeight('leftFrame')"></iframe>
</div>
Let all bear in mind that a society is judged not so much by the standards attained by its more affluent and privileged members as by the quality of life which it is able to assure for its weakest members.