Important note: The web address you must fill in in src= must be on the same site as this page, otherwise, an error will occur and say "Access Denied!"
I have encountered this problem before. I searched online to get the answer and found that many people have also encountered this problem. Now I will share the solution.
Super simple
1. Create a bottom.js file and enter the following code (only two lines)
parent.document.all(frame ID name).style.height=document.body.scrollHeight;
parent.document.all(frame ID name).style.width=document.body.scrollWidth;
The frame ID name here is the ID of the Iframe, for example:
<IFRAME id=frame ID name=left frameBorder=0 scrolling=no src=XXX.asp width=100%></IFRAME>
2. Add each of the included files in your website
<script language = JavaScript src = bottom.js/></script>
3. OK, call it a day!
I passed the test under WINXP and IE6. It's very simple!