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.
Statement:The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn