Subversion Repositories ZenDark

Compare Revisions

Ignore whitespace Rev 6 → Rev 7

/js/iframe.js
1,6 → 1,8
function sdt_autoResize(id){
var newheight;
 
// wait a bit so the page can load
newheight = document.getElementById(id).contentWindow.document.body.scrollHeight;
document.getElementById(id).height = (newheight) + "px";