Why dont you use auto iframe height on content load?
What i am talking about is this. This will go in the head section of your main page.
Code:
<script>
function adjust_iframe_right_height(h) {
if (h==0)
document.getElementById("iframe name").src = document.getElementById("iframe name").src;
document.getElementById("iframe name").style.height = h;
}
</script>
Then for each page that is going to be loaded in the iframe use this code
Code:
<script>
function adjust_Size() {
parent.adjust_iframe_right_height(document.body.scrollHeight);
}
</script>
<body onLoad="adjust_Size();">
Bookmarks