ramsharma23
asked on
IFRAME PROBLEM
Iam using an IFRAME inside a table. Iam not using any height attribute for the table <TR><td>.... and I have not mentioned any height attribute for IFRAME also. Inside the IFRAME iam displaying a page. When the page gets displayed intside the IFRAME I get a scroll bar, but I want the IFRAME to get extended instead of having a scroll bar.
Need Solution....
Need Solution....
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML>
<HEAD>
<script>
function reSize(){
var fB = window.frames.frm.document
fB.style.overflow = "hidden";
window.frames.frm.resizeTo
}
</script>
</HEAD>
<BODY>
<iframe src = "c:\1.html" onLoad="reSize()" name ="frm" id ="frameid"></iframe>
</BODY>
</HTML>