For this problem i have next solution (it works on my site (See: http://intro.onzeplaats.be/nl/helpdesk-forum) for all browsers ...)
In: ROOT-JOOMLA\components\com_wrapper\views\wrapper\tmpl\default.php , you have to change next lines:
On lines 13 until 24, you find this text:
Code: Select all
<script type="text/javascript">
function iFrameHeight() {
var h = 0;
if (!document.all) {
h = document.getElementById('blockrandom').contentDocument.height;
document.getElementById('blockrandom').style.height = h + 60 + 'px';
} else if (document.all) {
h = document.frames('blockrandom').document.body.scrollHeight;
document.all.blockrandom.style.height = h + 20 + 'px';
}
}
</script>
Code: Select all
<!--[if IE]>
<script>
function iFrameHeight() {
var f = document.getElementById('blockrandom');
f.style.height = '100px' ;
var d = (f.contentWindow.document || f.contentDocument) ;
var h = Math.max(d.body.offsetHeight, d.body.scrollHeight) ;
h += 20;
f.style.height = h + 'px' ;
f.setAttribute("height", h) ;
}
</script>
<![endif]-->
<![if !IE]>
<script type="text/javascript">
function iFrameHeight() {
var h = 0;
if (!document.all) {
h = document.getElementById('blockrandom').contentDocument.height;
document.getElementById('blockrandom').style.height = h + 60 + 'px';
} else if (document.all) {
h = document.frames('blockrandom').document.body.scrollHeight;
document.all.blockrandom.style.height = h + 20 + 'px';
}
}
</script>
<![endif]>