Closed Thread Icon

Preserved Topic: window.InnerHeight in IE Pages that link to <a href="https://ozoneasylum.com/backlink?for=17698" title="Pages that link to Preserved Topic: window.InnerHeight in IE" rel="nofollow" >Preserved Topic: window.InnerHeight in IE\

 
Author Thread
rob
Nervous Wreck (II) Inmate

From:
Insane since: Apr 2000

posted posted 04-17-2000 21:31

Hi scripters,<P>Is there an analogous property to window.InnerHeight for IE?<P>I'm trying to position a layer relative to the page bottom, so
any suggestions that work around lack of said property
could also be helpful.<P>Thanks,
Rob<P>+---------------------------------+

Slime
Lunatic (VI) Mad Scientist

From: Massachusetts, USA
Insane since: Mar 2000

posted posted 04-17-2000 22:49

I beleive document.body.clientHeight works.

rob
Nervous Wreck (II) Inmate

From:
Insane since: Apr 2000

posted posted 04-17-2000 23:08

I tried that (after searching like hell on Microsoft's site, BTW)<P>Here's the offending assignment:
if (ie) {
var topOffset = document.body.clientHeight
}<P>I'm still getting an error: Object required
from IE5. Do I need parens or something??

Slime
Lunatic (VI) Mad Scientist

From: Massachusetts, USA
Insane since: Mar 2000

posted posted 04-17-2000 23:23

That should work... I'm not sure what the problem is.

DocOzone
Maniac (V) Lord Mad Scientist
Sovereign of all the lands Ozone and just beyond that little green line over there...

From: Stockholm, Sweden
Insane since: Mar 1994

posted posted 04-18-2000 00:39

Hmm, probably freaking out over something stupid and unnecessary like no closing ";"<P>D'oh! I just remembered! I ran into this one before, it will only be able to know that value AFTER the page loads! Put that variable assign into a function that is called onLoad and it will work for you. Do it all the time, should have known that right off.<P>
Your pal, -doc-<P>----- Doctor Thaddeus Ozone --------- "Specialization is for insects"---

« BackwardsOnwards »

Show Forum Drop Down Menu