Jump to content

Recommended Posts

Posted

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

Posted
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.
Posted
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).
  • 7 months later...

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 account

Sign in

Already have an account? Sign in here.

Sign In Now



×
×
  • Create New...