meebix
08-24-2005, 01:18 PM
Hey,
I am using the IFrame SSI script II for a couple of my pages. I have this script and the proper body content on my main page to load the news, and its working great.
However, now I am trying to use this script to load and RESIZE my forums into my community.php page. The index page of the forums loads fine, but when I click on a post that has for instance 15 replies, the page doesn't automatically resize, but instead cuts off the forum posts, and thats it.
I have also been getting an error when the page loads: It tells me that line 71 (below), the permission was denied....?
Line 71: else if (currentfr.Document && currentfr.Document.body.scrollHeight) //ie5+ syntax
I have the normal script in the head, and I have put the resizeCaller command in the onload body section.
My IFrame code for my body is:
<iframe id="community" src="forum/index.php" scrolling="no" marginwidth="0" marginheight="0" frameborder="0" vspace="0" hspace="0" style="overflow:hidden; width:773px; display:none"></iframe>
Please can someone tell me why the page will not resize the height?
Thanks.
I am using the IFrame SSI script II for a couple of my pages. I have this script and the proper body content on my main page to load the news, and its working great.
However, now I am trying to use this script to load and RESIZE my forums into my community.php page. The index page of the forums loads fine, but when I click on a post that has for instance 15 replies, the page doesn't automatically resize, but instead cuts off the forum posts, and thats it.
I have also been getting an error when the page loads: It tells me that line 71 (below), the permission was denied....?
Line 71: else if (currentfr.Document && currentfr.Document.body.scrollHeight) //ie5+ syntax
I have the normal script in the head, and I have put the resizeCaller command in the onload body section.
My IFrame code for my body is:
<iframe id="community" src="forum/index.php" scrolling="no" marginwidth="0" marginheight="0" frameborder="0" vspace="0" hspace="0" style="overflow:hidden; width:773px; display:none"></iframe>
Please can someone tell me why the page will not resize the height?
Thanks.