OZONE Asylum
Forums
CSS - DOM - XHTML - XML - XSL - XSLT
Height issues ad infinitum
This page's ID:
27804
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
The code I'm currently using seems much less bloated. [code]function resize(){ var frame = document.getElementById("sidebar"); var htmlheight = document.body.parentNode.scrollHeight; var windowheight = window.innerHeight; if ( htmlheight < windowheight ) { document.body.style.height = windowheight + "px"; frame.style.height = windowheight + "px"; } else { document.body.style.height = htmlheight + "px"; frame.style.height = htmlheight + "px"; } } [/code]
Loading...
Options:
Enable Slimies
Enable Linkwords
« Backwards
—
Onwards »