I need to detect the height of a web page displayed on a BlackBerry and I've tried the following.
height, window.innerHeight, and screen.availHeight
My BB 9700 simulator returns values of 304, 327, and 360 respectively. The closest "correct" value is 360 since that's the actual height of the displayed page.
However, the site has a vertical scroll and the actual height is closer to 600 or so. Is there a way I can detect the height that includes the scrollable region that isn't seen unless you scroll?
I need to dynamically resize a div using JavaScript to take up the entire height of a scrolling web page.