popoman — 2011-04-15T14:30:00-04:00 — #1
Hello, I'd like to make an iframe that will automatically get the height of the webpage it is on (not the source url) - I'm not talking the browser viewport but the entire document - so basically the height in pixels minus a certain value to prevent the iframe from sliding out - example:
<iframe src="http://google.com/" height="CURRENT DOCUMENT'S HEIGHT MINUS 50" width="FIXED"></iframe>
Maybe it is better to achieve this function in php - or any other way? And perhaps there is some better way than an iframe - like a container of some sort that can automatically expand to the webpage's length...
Thanks in advance!
svcghost — 2011-04-15T15:02:56-04:00 — #2
popoman — 2011-04-17T09:51:24-04:00 — #3
Thanks, already solved it.