Hi everyone,
I'm trying to prevent element from scrolling in safari on iphone. I've tried solutions mentioned here: http://stackoverflow.com/questions/777621/iphone-safari-scroll-a-list-inside-a-html-container But my list is large and it doesn't work so smoothly.
What I have in mind is to detect onscroll event and reposition the element, so it's in the boundaries of viewport.
But I can't find way to detect coordinates of the viewport. Can anybody help with this?
Thanks.