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

Popular posts from this blog

delphi - blogger via idHTTP : error 400 bad request -

c++ - compiler errors when initializing EXPECT_CALL with function which has program_options::variables_map as parameter -

How do I check if an insert was successful with MySQLdb in Python? -