Mir hat das Problem einfach keine Ruhe gelassen, deshalb habe ich verbissen weiter probiert bis ich eine Lösung gefunden habe. Man muss die Funktion iFrameHeight() durch folgende ersetzen.
Code:
function iFrameHeight()
{
var h = 0;
if ( !document.all ) {
h = document.getElementById('blockrandom').contentDocument.height;
if(!h)
{
h = document.frames('blockrandom').document.body.scrollHeight;
}
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';
}
}
Ich hoffe das funktioniert bei allen.
Edit: achja die Funktion ist in der Default.php der Komponente Wrapper (/components/com_wrapper/views/wrapper/tmpl/default.php)
Timo
Lesezeichen