We are using jQuery mobile 1.0a2 fixed toolbars for our ap开发者_开发百科p. However we want to load all the HTML layout in a single attempt and from there load only the data through Ajax calls. We managed to make the bars work but the bottom one behaves quirky and sometimes ends up floating at the middle of the screen.
I understand that the bars are designed to work using multiple HTMLs.
Do anyone knows a way to fix/force this?
I was trying to do the same exact thing and got this same behavior you were talking about. I looked into it, and there were actually a lot of known problems with the fixed toolbars in the Alpha 2 release. In Alpha 3 they drastically improved the fixed toolbars, and it solved all the issues I had.
I realize you said you had problems moving up to the Alpha 3 release, and I'm guessing it introduced bugs in other parts of your code which is why you didn't end up using it. However, if you're serious about using these fixed toolbars, I feel like you should really try to fight through those newly introduced errors and begin using JQM Alpha 3. Solving your toolbar issues while using Alpha 2 will end up being extremely tough, and you probably won't get much help from the JQM experts since that code is now old...
精彩评论