1:<iframe src="help/help1.jsp" marginheight="0" marginwidth="0" frameborder="0" scrolling="no" width="auto" height="auto" id="display_frame" name="display_frame" ></iframe>
2:
<script>
function setWinHeight(obj){
var display_frame = obj;
if(document.getElementById){
if(display_frame && !window.opera){
if(display_frame.contentDocument && display_frame.contentDocument.body.offsetHeight){
display_frame.height = display_frame.contentDocument.body.offsetHeight+50;
}
else if(display_frame.Document && display_frame.Document.body.scrollHeight){
display_frame.height = display_frame.document.body.scrollheight+50;
}
}
}
}
</script>
|