escort bayan escort bayan escort bayan porno izle porno izle izmit escort izle escort izmit bayan escort izmit porno porno izmit escort porno izle porno izle porno izle porno izle porno izle buy cialis sikis izle sikis izle porno izle asyali porno rokettube porno izle porno izle porno izle porno izle porno izle escort izmit izmit escort bayan izmit escort bayanlar escort bayan izmit izmit escort kizlar izmit escort kizlar izmit olgun escort izmit eve gelen escort izmit ucuz escort bayan escort izmit kocaeli izmit escort izmit bayan escort izmit escort face izmit merkez escort escort bayanlar izmit porno porno

How to add Navbar in your jQuery Mobile site.

Nav­ibar is one of the easy way to nav­i­gate web site and friendly to users. jQuery Mobile already has basic navbar wid­get to add navbar in your web­site easily.

See fol­low­ing source code. You can notice navbar wid­get starts with a div of data-role=“navbar”. It can have up to five but­tons in the cur­rent ver­sion (1.0rc1)

Also very impor­tant thing to remem­ber is hot to high­light active an item in the navbar. To  set one of the links to be shown as selected state,  add class=“ui-btn-active ui-state-persist” to <a> tag.

[source­code language=“html”]
<!DOCTYPE html>
<html>
<head>
<title>Test Navbar</title>
<link rel=“stylesheet” href=“http://code.jquery.com/mobile/1.0rc1/jquery.mobile-1.0rc1.min.css” />
<script src=“http://code.jquery.com/jquery-1.6.4.min.js” type=“text/javascript”></script>
<script src=“http://code.jquery.com/mobile/1.0rc1/jquery.mobile-1.0rc1.min.js”></script>
</head>
<body>
<!– First page –>
<div data-role=“page” id=“first”>
<div data-role=“header”>
<!– Title Header –>
<h1>Page Title</h1>
<!– Navbar –>
<div data-role=“navbar”>
<ul>
<li><a href=”#first”>First</a></li>
<li><a href=”#second”>Second</a></li>
</ul>
</div>
</div>
<div data-role=“content”>
<p>You are in the First page.</p>
<p>Tip: If you’d like to an item in your navbar, add a class of “ui-btn-active ui-state-persist” in the link.</p>
</div>
<div data-role=“footer”>
<h4>Page Footer</h4>
</div>
</div>

<!– Sec­ond page –>
<div data-role=“page” id=“second”>
<div data-role=“header”>
<!– Title Header –>
<h1>Page Title</h1>
<!– Navbar –>
<div data-role=“navbar”>
<ul>
<li><a href=”#first”>First</a></li>
<li><a href=”#second”>Second</a></li>
</ul>
</div>
</div>
<div data-role=“content”>
<p>You are in the Sec­ond page.</p>
<p>Tip: If you’d like to an item in your navbar, add a class of “ui-btn-active ui-state-persist” in the link.</p>
</div>
<div data-role=“footer”>
<h4>Page Footer</h4>
</div>
</div>
</body>
</html>
[/sourcecode]

Mobile Web Project — POS

Mobile Web POSI have been devel­op­ing mobile order­ing sys­tem for restau­rant. It is so chal­leng­ing for me as this project is aim­ing for across all pop­u­lar mobile device platforms.

jQuery Mobile frame­work is really help­ful to imple­ment this. Check it out if you have never heard about this.