<script type="text/javascript">
function SetWinHeight(obj) {
var win = obj;
if (document.getElementById) {
if (win && !window.opera) {
if (win.contentDocument && win.contentDocument.body.offsetHeight)
win.height = win.contentDocument.body.offsetHeight;
else if (win.Document && win.Document.body.scrollHeight)
win.height = win.Document.body.scrollHeight;
}
}
}
function autoIframeHeight(){
$("[wisdom='height']").each(function (index,item) {
SetWinHeight(item);
})
}
</script>
<body οnlοad="autoIframeHeight()">
<iframe wisdom="height" width="100%" height="100%" frameborder="no" border="0" allowtransparency="true" scrolling="no" src="edit.html"></iframe>
</body>