OZONE Asylum
Forums
Stupid Basic HTML
iFrames Height
This page's ID:
9671
Search
QuickChanges
Forums
FAQ
Archives
Register
Edit Post
Who can edit a post?
The poster and administrators may edit a post. The poster can only edit it for a short while after the initial post.
Your User Name:
Your Password:
Login Options:
Remember Me On This Computer
Your Text:
Insert Slimies »
Insert UBB Code »
Close
Last Tag
|
All Tags
UBB Help
Since I've been thinking about this problem, I may as well finish it and give a complete solution. Provided that the files you 'host' in the iframe are in the same domain as the page 'hosting' the iframe, you could add the following code to the <body> tag of the hosted pages for a complete solution. [code] onload="if (window.parent && window.parent.resizeIframe) {window.parent.resizeIframe('myFrame');}" [/code] Of course, you'll want to replace 'myFrame' with the name of the iframe on the hosting page. That should do it. The iframe will resize every time the inner document changes, eliminating the vertical scroll bar forever! [insert evil laugh here...] Ok. Now I suppose this thread needs to be moved to the JavaScript forum.... ;)
Loading...
Options:
Enable Slimies
Enable Linkwords
« Backwards
—
Onwards »