-
Notifications
You must be signed in to change notification settings - Fork 0
/
accelerometer.html
34 lines (31 loc) · 1.25 KB
/
accelerometer.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
<!DOCTYPE HTML>
<html>
<head>
<title>PhoneGap</title>
</head>
<body>
<div data-role="page" id="accelerometer-page">
<div data-role="header" data-position="inline">
<h1>Bouncing Ball</h1>
</div>
<canvas id="canvas" width="350" height="350" style="border: 2px solid #000"></canvas>
<img id="ball" style="display: none" />
<div data-role="footer" data-position="fixed">
<div data-role="navbar">
<ul>
<li><a href="index.html">Home</a></li>
<li><a href="map.html">Map</a></li>
<li><a href="compass.html">Compass</a></li>
<li><a href="list.html">List</a></li>
<li><a href="contacts.html">Contacts</a></li>
<li><a href="photos.html">Photos</a></li>
<li><a href="notify.html">Notify</a></li>
<li><a href="notes.html">Notes</a></li>
<li><a href="accelerometer.html" class="ui-btn-active">Accelerometer</a></li>
</ul>
</div>
</div>
<script type="text/javascript" charset="utf-8" src="scripts/accelerometer.js"></script>
</div>
</body>
</html>