beeswax Posted May 20, 2006 Posted May 20, 2006 does anyone have any code, or know of where I can find some, I can insert into a page which will allow an iframe to resize its height to fit its content? I've spent a fruitless couple of hours searching but haven't found anything that does what it says on the tin yet. beeswax
webman Posted May 20, 2006 Posted May 20, 2006 I'm pretty sure you have to set iframe widths and heights manually as it is essentially loading a separate frame (new browser window, in essence) of whatever content you tell it. If you really need what you're after, you should be able to achieve it with a DIV layer and some XMLHttpRequest to fetch the content.
beeswax Posted May 20, 2006 Author Posted May 20, 2006 I've googled it and seen a couple of ways it's supposed to work, one dhtml and the other javascript, but no matter how I try, I can't replicate it on my page(s).
alan-d Posted January 18, 2007 Posted January 18, 2007 A bit late but saw this whilst looking for something else I believe the bit you want is - scrolling="auto"
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now