1) Script Title: Iframe SSI script II
2) Script URL (on DD): http://www.dynamicdrive.com/dynamici...iframessi2.htm
3) Describe problem:
I'm using the SSI2 script for dynamically resizing my web page to fit the iframe content. It was working perfectly fine in Explorer, but when I tried opening the page in Firefox, the iframe was being shrunk vertically (to what appears to be the default iframe vertical size).
The code worked fine from the website in question, so I tried removing all other scripts from my page, and stripping it down to the very basics, but it still wasn't working. So finally I took a look at the page I was loading into the iframe, and tried making some changes to it.
What I discovered is that a loaded page set up like this works fine:
but one set up like this:HTML Code:... <div> <img src="content_sample.jpg"> </div> ...
causes the problem I mentioned above with Firefox. My questions are:HTML Code:... <div style="position: absolute"> <img src="content_sample.jpg"> </div> ...
A) Does this constitute a bug in the aforementioned script? and
B) Is there any way to make a version of the SSI2 script that works with Firefox?



Reply With Quote


Bookmarks