Is there a way, through javascript, to get the actual viewable area on a device? Not hard coding, but tracking down the dimensions of the viewable screen via javascript?
On the iPhone, if you're not in fullscreen mode, you've got the Safari tabbar at the bottom that doesn't scroll. I know I can get the dimensions of it easy enough and hard-code the viewable screen size by subtraction when not in fullscreen. But I'd like to have a more robust solution (robust meaning I can code it and forget about it for future devices) that could work cross-platform on webkit devices. Scott. -- You received this message because you are subscribed to the Google Groups "iPhoneWebDev" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/iphonewebdev?hl=en.
