iPhone Safari: Scroll a list inside a html container
Solution 1
there is yet another possibility, with slightly nicer scrolling simulation: http://cubiq.org/scrolling-div-on-iphone-ipod-touch/5
Solution 2
Ok, after consulting some friends, I found the answer to this question:
http://doctyper.com/archives/200808/fixed-positioning-on-mobile-safari/
have fun.
Patrick
Updated on May 22, 2020Comments
-
Patrick almost 4 years
I did a lot of research about this topic and didn't yet find a satisfying answer:
How can I make a scrollable list (iPhone SDK Dashboard List) inside some other html content? If I create a list inside a html body and I try to scroll the whole page is scrolled. I know there is this "double finger" scrolling, but that's not what i want.
Is there some way to prevent the whole iPhone Safari Webpage from scrolling and instead letting other lists inside scroll? Like redirecting java script events?
Background: the idea is to mimic a real native application behavior with tabs at the bottom and a selection list in the body.
Appreciate any hints! Thanks, Patrick