Adoretuts

  • home
  • CSS
  • Dropdown
    • Action
    • Another action
    • Something else here
    • Separated link

Selasa, 01 Juli 2014

Make Navigation Navbar

Diposting oleh Unknown di 11.23 Label: jquerymobile
Share this
Tweet

First, make id into body file html, to add some page.
<body>
<div data-role="page" id="pageone">
  <div data-role="header">
    <h1>this is header</h1>           <div data-role="main" class="ui-content">
<h3>This is Page one</h3>
</div>
<div data-role="footer" data-position="fixed">
<h3>This is footer</h3>
</div>
</div>
    <div data-role="page" id="pagetwo">
  <div data-role="header">
    <h1>this is header</h1>           <div data-role="main" class="ui-content">
<h3>This is Page two</h3>
</div>
<div data-role="footer" data-position="fixed">
<h3>This is footer</h3>
</div>

</div>
</body>
And then we going to copy this code to other page, Ex : #pagetwo
<div data-role="header">
    <h1>this is header</h1>
          <div data-role="navbar">
      <ul>
          <li><a href="#anylink">Home</a></li>
          <li><a href="#pageone">Page One</a></li>
          <li><a href="#anylink">Search</a></li>
      </ul>
    </div>
</div>
Make sure the code is right and the result is like this

Navigation Links:

Step 1 - Basic
Step 2 - Header, main, footer, and pages
Step 3 – Button and Navbar
Step 4 – Transition Effect and Panel

Posting Lebih Baru Posting Lama

Tidak ada komentar :

Posting Komentar

Langganan: Posting Komentar ( Atom )

Search this website

Email updates

Popular Posts

  • Change theme jquerymobile
    To apply theme you must copy this data-theme="?" in <div data-role="page" > There is 3 choice theme : a. Th...
  • Tutorial - How to Make Android Application with Jquerymobile - Step 1 - Basic
    Hi everybody, It is my first post in this blog, okay in this occasion I will share to you about "HOW TO MAKE ANDROID APPLICATION wi...
  • Tutorial - How to Make Android Application with Jquerymobile - Step 3 - Button and Navbar
    Step 3 – Button and Navbar After you learn Step 2 – Header, main, footer, and pages . Now go to Step 3 –Button and Navbars. 1. Creati...
  • Tutorial - How to Make Android Application with Jquerymobile - Step 4 - Transition Effects
    Step 4 – Transition Effects An awesome application must have an unique transition effect, Transition effect can be applied to inter...
  • Tutorial - How to Make Android Application with Jquerymobile - Step 2 - Header, main, footer, and pages
    Tutorial  2 – Header, main, footer, and pages After you learn tutorial  1 - basic, now go to Step 2 – Header, main, footer, and pages...
  • Make Navigation Navbar
    First, make id into body file html, to add some page. <body> <div data-role="page" id="pageone">   ...

Facebook page

Google +

Blog Archive

  • 2014 ( 6 )
    • Juli ( 2 )
      • Change theme jquerymobile
      • Make Navigation Navbar
    • Juni ( 4 )

Labels

  • jquerymobile

© Adoretuts 2014 . Powered by Blogger templates and RWD Testing Tool