Tag: scrollview

jQuery Mobile只滚动内容,而不是整页

我正在用jQuery Mobile和Phonegap构建一个应用程序。 现在,当我有一个页面需要滚动时,jQuery Mobile滚动整个页面,而不是内容。 滚动条应仅位于内容部分的位置。 但似乎滚动条滚动整个页面。 它位于固定页眉和固定页脚的顶部。 有谁解决了这个问题?

IScroll包装器没有达到高度

我有以下代码: Picture 我的CSS类 .homebutton_zeile{ width: 100%; height: 30%; } .homebutton_all{ width: 30%; height: 90%; float:left; margin-left: 2%; margin-top:15px; } .homebutton_picture{ position: relative; width: 100%; height: 85%; float: left; background-color: #AAC7BD; border: 1px solid black; border-radius: 15px; box-shadow:8px 8px 8px #666; } .homebutton_name{ text-align:center; position: relative; top:-10px; width: 100%; height: 15%; margin-left: auto; text-decoration:none; color:black; } […]

jQuery Mobile Scrollview

所以我试图制作一个可滚动的列表: 括在:标签 我使用以下脚本: http://jquerymobile.com/test/experiments/scrollview/jquery.mobile.scrollview.js http://jquerymobile.com/test/experiments/scrollview/scrollview.js 除了jqm和jq。 问题是在PC上滚动不起作用(但它并没有那么糟糕),但是在整个网站上除了listview之外还在滚动。 用户还可以在站点上滚动并查看灰色bg,直到safari停止滚动。 编辑:另外这两个JS使’toggleClass()’jQuery函数不起作用。