Thank you for visiting the BlackBerry Support Community Forums.
BlackBerry will be closing the BlackBerry Support Community Forums Device Forums on April 1st (Developers, see below)
BlackBerry remains committed to providing excellent customer support to our customers. We are delighted to direct you to the CrackBerry Forums, a well-established and thorough support channel, for continued BlackBerry support. Please visit http://forums.crackberry.com or http://crackberry.com/ask. You can also continue to visit BlackBerry Support or the BlackBerry Knowledge Base for official support options available for your BlackBerry Smartphone.
"When we launched CrackBerry.com 10 years ago, we set out to make it a fun and useful destination where BlackBerry Smartphone owners could share their excitement and learn to unleash the full potential of their BlackBerry. A decade later, the CrackBerry community is as active and passionate as ever and I know our knowledgeable members and volunteers will be excited to welcome and assist more BlackBerry owners with their questions."
- Kevin Michaluk, Founder, CrackBerry.com
Developers, for more information about the BlackBerry Developer Community please review Join the Conversation on the BlackBerry Developer Community Forums found on Inside BlackBerry.
11-28-2008 08:41 AM
But, when i try to read it in v4.6.0 Blackberry simulator, these properties don't exist (window.innerWidth undefined).
Does these properties really exist ?
I would like to position an iframe in the upper right corner of the browser display area. I set iframe position to fixed.
How could i know the browser display area height and width ?
11-28-2008 09:16 AM
12-04-2008 10:52 AM
11-02-2009 02:34 PM
Its fine and good that this works in 4.7, but what can we do in 4.6? screen.availHeight isn't usable here because it does NOT exclude the "banners".
The space consumed by the banner(s) depends on the OS version and is also controlled by a user setting (they can toggle it by using the "u" shortcut). This is made worse in the AT&T build (v22.214.171.1247 platform 126.96.36.199) because the MediaNet browser includes a "ATT" bar on the bottom where the Hotspot browser does NOT - so we can't even use navigator.userAgent to determine the right hard coded value.
11-02-2009 03:38 PM
Let me fine tune this a bit.
undefined in v188.8.131.527 platform 184.108.40.206 (on Bold) BUT
defined in v220.127.116.11 platform 18.104.22.168 (on Curve).
The Curve also correctly excludes the "banner" from the height.
11-03-2009 03:57 PM
The Tour (22.214.171.124 platform 126.96.36.199) also correctly excludes the banners from window.innerHeight.
Of the phones that concern us only the Bold includes the banners in the height calculations. Other than hard coding for the presence of the banners is there a workable solution for the Bold running 4.6?