Selasa, 01 Juli 2014
Change theme jquerymobile
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
Make Navigation Navbar
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>
Langganan:
Postingan
(
Atom
)