iPhone/Safari Notes
Published by Steve Streza June 30th, 2007 in BlogSafari on iPhone has a number of things that are NOT implemented. Here’s a list of things that don’t seem to work (and I’ll be adding more as time goes on):
Javascript:
- window.onmousedown
- window.onclick
- window.onscroll
CSS:
- overflow:hidden
- position:fixed
- position:static
- -webkit-column-*
If you find any more, please leave them in the comments and I’ll add them to the list.
How can “position: static” possibly be unsupported? It’s the default value of “position”, so all elements that do not have it overridden will be treated as static.
You might be interested in the www.iPhoneWebDev.com community — there has been a lot of discussion today on how best to do viewports, how to turn off scaling, and other issues of web design and web apps for the iPhone. There is also a barcamp conference next week in SF, info at www.iPhoneDevCamp.com.
I was hoping I could overcome the position:fixed issue with JavaScript but alas, none of the following work.
pageXOffset
pageYOffset
document.body.scrollTop
document.body.scrollLeft