Browse Source

new example of buttons in the footer

master
T. Meissner 12 years ago
parent
commit
ceca840198
1 changed files with 29 additions and 0 deletions
  1. +29
    -0
      ch03_04.html

+ 29
- 0
ch03_04.html View File

@ -0,0 +1,29 @@
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8" />
<title>My first jQuery Mobile code</title>
<link rel="stylesheet" href="http://code.jquery.com/mobile/1.2.0/jquery.mobile-1.2.0.min.css">
<script src="http://code.jquery.com/jquery-1.8.2.min.js"></script>
<script type="text/javascript" src="http://code.jquery.com/mobile/1.2.0/jquery.mobile-1.2.0.min.js"></script>
<meta name="viewport" content="width=device-width, initial-scale=1">
</head>
<body>
<div data-role="page" id="page1">
<div data-role="header" data-position="fixed">
<a href="" data-icon="delete">Cancel</a>
<h1>New record</h1>
<a href="" data-icon="check" data-theme="b">Save</a>
</div>
<div data-role="content">
</div>
<div data-role="footer" data-position="fixed" class="ui-bar">
<a href="" data-icon="refresh">Refresh</a>
<a href="">Filter</a>
<a href="" data-icon="search">Search</a>
<a href="" data-theme="b">New item</a>
</div>
</div>
</body>
</html>

Loading…
Cancel
Save