The method is as follows, save the 2-section
code as prompted.
Please save as mainframe.htm
Please Save as frame.htm
Execute mainframe.htm to see the effect.
When applying modifications, pay attention to the ID of the table defined in mainframe.htm and frame.htm, and then remember to modify the corresponding
calling file name and path in the frame statement, and pay attention to the following sentence:
onload="style.width=this.contentWindow.document.all. formfra.offsetWidth;"
"style.height=this.contentWindow.document.all.formfra.offsetHeight"
Make corresponding modifications
this.contentWindow.document.all. Call page form ID.offsetWidth
this.contentWindow.document.all. Call page table ID.offsetHeight
Remember, the table ID must be defined.