Subversion Repositories ZenDark

Compare Revisions

Ignore whitespace Rev 7 → Rev 3

/js/iframe.js
1,8 → 1,6
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";