I’m developing a mobile website for smartphones and using jquery mobile.
first test: http://pastehtml.com/view/bq51kpbmm.html
I have added the content to the page, so it should be scrollable, but when I’m scrolling the header and footer will be disable for the scroll time. 🙁
second test: http://pastehtml.com/view/bq51nmk7i.html
The jquery mobile documentation (http://jquerymobile.com/test/docs/toolbars/bars-fixed.html) gives me the information that data-position=”fixed” should disable hiding my header & footer
what am I doing wrong?
With jQm this is just what happens when scrolling. Try looking around for some jQm widgets that will compliment the jQm framework. I think iScroll 4 does what you’re looking for here.
As for the fixed positioning, from the link that you provided in your original question:
There is no mention of any facts that say the toolbars won’t disappear on scrolling. That’s just the behavior in jQm. Plugins can help with this.