Hi there,

Just thought I'd mention the following: I was having a problem w/  
iUI's panel class. The issue was that the shading didn't span the  
whole window height (including scrolling area), which wasn't desirable  
in my context (namely, my users were reporting it as a bug).

Long story short, I found out that the best way to detect the true  
client height in Mobile WebKit is by using  
document.documentElement.clientHeight.

window.innerWidth didn't update when iUI *slides* to new panels or  
lists that change the height, and document.body.clientHeight actually  
returned an error.

I actually submitted an upstream patch for iUI, if someone wants to  
see/reuse my implementation.
http://code.google.com/p/iui/issues/detail?id=49

Hoping this might help someone. I saw a window issue being mentioned  
in the last message t the list (see "re: iPhone targeted site").

Stephane Daury - http://tekartist.org/

--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to