Preserved Topic: window.InnerHeight in IE |
|
---|---|
Author | Thread |
Nervous Wreck (II) Inmate From: |
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 |
Lunatic (VI) Mad Scientist From: Massachusetts, USA |
posted 04-17-2000 22:49
I beleive document.body.clientHeight works. |
Nervous Wreck (II) Inmate From: |
posted 04-17-2000 23:08
I tried that (after searching like hell on Microsoft's site, BTW)<P>Here's the offending assignment: |
Lunatic (VI) Mad Scientist From: Massachusetts, USA |
posted 04-17-2000 23:23
That should work... I'm not sure what the problem is. |
Maniac (V) Lord Mad Scientist Sovereign of all the lands Ozone and just beyond that little green line over there... From: Stockholm, Sweden |
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> |