pcoles
12-05-2006, 12:42 AM
1) Script Title:
Iframe SSI script II
2) Script URL (on DD):
http://www.dynamicdrive.com/dynamicindex17/iframessi2.htm
3) Describe problem:
I am trying without any success to get this script to work on a page that I am making. Whenever I set it up on a page though (in Firefox):
currentfr.contentDocument.body.offsetHeight
will always evaluate to 0, so the iframe will not get resized. Likewise, when I try it in IE it will not expand either. More so, the result (in Firefox) is a small, default height iframe with scroll bars (horizontal and vertical) to see the full page, which is another local HTML page containing divs and text.
Is there anything that could be causing this?
- other javascript?
- divs? I tried set all divs to {display: block}
- CSS may do something evil??
Any help will be greatly appreciated.
Regards.
Iframe SSI script II
2) Script URL (on DD):
http://www.dynamicdrive.com/dynamicindex17/iframessi2.htm
3) Describe problem:
I am trying without any success to get this script to work on a page that I am making. Whenever I set it up on a page though (in Firefox):
currentfr.contentDocument.body.offsetHeight
will always evaluate to 0, so the iframe will not get resized. Likewise, when I try it in IE it will not expand either. More so, the result (in Firefox) is a small, default height iframe with scroll bars (horizontal and vertical) to see the full page, which is another local HTML page containing divs and text.
Is there anything that could be causing this?
- other javascript?
- divs? I tried set all divs to {display: block}
- CSS may do something evil??
Any help will be greatly appreciated.
Regards.