0
我有一個頁面具有固定頁腳jQuery Mobile的靜態頁腳不切換
<div data-role="page" id="next_collection" data-theme="d">
<div data-role="header" data-theme="elw">
Title
</div>
<div data-role="content" style="min-height: 246px;">
Some content
</div>
<div data-role="footer" data-id="footer_nav" data-position="fixed">
<a href="#business_hours"><img src="images/icon.png" /></a>
</div>
</div>
這適用於Android和iPod,但iPhone 4S就會切換(隱藏/顯示)頁腳,如果你觸摸屏幕。我試圖修復它像這個old question,但這不再工作。對於$.mobile.fixedToolbars.setTouchToggleEnabled()
我得到:
$.mobile.fixedToolbars is undefined
如何從撥動停止頁腳在新版本?