iPhone Safari:在html容器中滚动列表 [英] iPhone Safari: Scroll a list inside a html container
问题描述
我对此主题进行了大量研究,但尚未找到令人满意的答案:
I did a lot of research about this topic and didn't yet find a satisfying answer:
如何制作可滚动列表(iPhone SDK仪表板列表)在其他一些HTML内容?如果我在html体内创建一个列表,我尝试滚动整个页面滚动。我知道有这个双指滚动,但这不是我想要的。
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.
是否有某种方法可以阻止整个iPhone Safari网页滚动而不是让其他人滚动列表?就像重定向java脚本事件一样?
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.
欣赏任何提示!
谢谢,
Patrick
Appreciate any hints! Thanks, Patrick
推荐答案
还有另一种可能性,滚动仿真稍微好一些:
http://cubiq.org/scrolling-div-on- iphone-ipod-touch / 5
there is yet another possibility, with slightly nicer scrolling simulation: http://cubiq.org/scrolling-div-on-iphone-ipod-touch/5
这篇关于iPhone Safari:在html容器中滚动列表的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!