document.body.scrollHeight (MSIE)
Wo soll das denn hin? Und ws bewirkt das genau?
Bewirken tut das gar nicht. Das speichert nur die Höhe eines Dokuments.
Das soll an die height-Eigenschaft des Iframes!
Ich weiß eben nur nicht wie du das iframe korrekt ansprichst.
versuchs mal mit:
var iframe = document.getElementById("iframeID");
iframe.height = 100;
wenn das klappt, hast du schon mal das iframe richtig referenziert.
wenn nicht versuchs mit:
var iframe = frames["iframeID"];
so und dann brauchst du noch die Höhe des Doks im Iframe...
kA wie das geht
evtl so:
iframe.height = iframe.document.body.scrollHeight;