diff --git a/main/document/showinframes.php b/main/document/showinframes.php
index 2c6c9c3fd5..ade601f8f2 100755
--- a/main/document/showinframes.php
+++ b/main/document/showinframes.php
@@ -170,6 +170,7 @@ $htmlHeadXtra[] = '
//FooterHeight = document.getElementById("footer").offsetHeight;
//document.getElementById("mainFrame").style.height = ((docHeight-(parseInt(HeaderHeight)+parseInt(FooterHeight)))+60)+"px";
my_iframe = document.getElementById("mainFrame");
+ //this doesnt seem to work in IE 7,8,9
new_height = my_iframe.contentWindow.document.body.scrollHeight;
my_iframe.height = my_iframe.contentWindow.document.body.scrollHeight + "px";
};
@@ -203,6 +204,6 @@ if ($pathinfo['extension']=='wav' && api_get_setting('enable_nanogong') == 'true
echo '';
}
else{
- echo '';
+ echo '';
}
Display::display_footer();