Adoretuts

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

Selasa, 01 Juli 2014

Change theme jquerymobile

Diposting oleh Unknown di 11.43 Label: jquerymobile
Share this
Tweet

To apply theme you must copy this data-theme="?" in <div data-role="page" >
There is 3 choice theme :

a. This is “a” theme / default theme
<div data-role="page" data-theme="a">
Result :


b. This is “b” theme

<div data-role="page" data-theme="b">
Result :


c. This is “c – z”
<div data-role="page" data-theme="c-z">
 Result :


Make your own color :

To make your own color you must add atribut style="background:#anycolor" , to div what you want.
Example, I will add some color to my html
<body>
<div data-role="page" style="background:#660006">
  <div data-role="header" style="background:#778899">
    <h1>this is header</h1>
  </div>
<div data-role="main" class="ui-content">
<h3>This is content</h3>
</div>
<div data-role="footer" data-position="fixed" style="background:#987654">
<h3>This is footer</h3>
</div>
</div>
</body>
And the result is

Navigation Links:

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

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 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...
  • 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...
  • 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