Cordova + jQuery Mobile
Fixed Navbar in multi page.
I want UI like this.
In my project has directory tree like this.
This directory tree is project root tree.
We focus on www directory.
1. www/index.html
2. www/bookstore.html
3. www/option.html
These files are used for making fixed nav UI.
Codes here.
index.html is first page and center btn page on navbar.
bookstore.html is left btn page on navbar
option.html is right btn page on navbar
<Core Code>
The point code is footer, navbar.
<div data-role="footer" data-id="foo1" data-position="fixed">
Should use data-id same id on multi pages.
Result
Some issue on this project.
- data-transition has some problem, transition has low performance
댓글 없음:
댓글 쓰기