Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

In Jquery mobile, Header and footers are always hiding, when clicking inside the page?

I need, header and footer always fixed position.

I don't want like the below url page. What will i do?. Help me........ http://jquerymobile.com/demos/1.0b1/#/demos/1.0b1/docs/toolbars/bars-fullscreen.html

(In the above url, if u clicked inside the page. The header and footer will hide). I don't want like this

like image 393
sadeesh kumar Avatar asked Aug 03 '11 10:08

sadeesh kumar


2 Answers

If anyone still finds this question and realises the above no longer works, like I did, the correct way to do it (which is correct today, 23/May/2012) is now:

<div data-role="footer" data-position="fixed" data-tap-toggle="false">

like image 129
ahren Avatar answered Nov 16 '22 21:11

ahren


Use data-tap-toggle="false" AND data-hide-during-focus="".

The second one will prevent fixed toolbars from hiding when you click an input.

like image 16
fjsj Avatar answered Nov 16 '22 22:11

fjsj