Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我一直在jquery mobile中实现列表。当我滚动列表时,页眉也会滚动。有没有办法在触摸事件中只滚动特定的div而不滚动页面中的所有div。
提前致谢。
如果您只是希望您的标题保持固定,那么您可以对其应用 data-position="fixed" 属性。
<div data-role="header" data-position="fixed">
这将防止它在您滚动页面时从顶部滚动。
这很奇怪,也很复杂,我会尽力解释它。我手工制作日历,计划开源等等。我目前正在寻找谷歌日历的外观和感觉,因为它们似乎是最好的,但我确实计划升级它+开源。一切都在完美运行,除非我单击上个月,以查看上个月,然后运行 ajax 查询,php 返回新日历,但是当它呈现时,它呈现没有任何 <table>元素,除了没有遇到任何障碍想法?继承人一些代码/图像:
<table>
html: