javascript - jquery mobile static footer without toggle -
javascript - jquery mobile static footer without toggle -
i have page fixed footer
<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;"> 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> this works on android , ipod, on iphone 4s toggles (hide/show) footer if touch screen. tried prepare in old question not work anymore. $.mobile.fixedtoolbars.settouchtoggleenabled() get:
$.mobile.fixedtoolbars undefined how stop footer toggle in newer versions?
as @commadelimited says, toggle has been new feature not available in prior versions.
the meta info add together header or footer remove toggle feature is:
data-tap-toggle="false" so, in case, footer should looks like:
<div data-role="footer" data-id="footer_nav" data-position="fixed" data-tap-toggle="false"> <a href="#business_hours"><img src="images/icon.png" /></a> </div> and here should kind of reference site: link google search
javascript jquery-mobile
Comments
Post a Comment