1 <html manifest=
"html5/test.appcache">
7 <h3>Geolocation Test
</h3>
8 <div id=
"status">Location unknown
</div>
9 <script language=
"javascript" type=
"text/javascript" src=
"html5/geolocation.js"></script>
11 <h3>Web SQL Database Test
</h3>
13 <script language=
"javascript" type=
"text/javascript" src=
"html5/database.js"></script>
15 <h3>Application Cache Test
</h3>
17 <p>Current network status:
<span id=
"state"></span></p>
19 var state
= document
.getElementById('state')
20 setInterval(function () {
21 state
.className
= navigator
.onLine
? 'online' : 'offline';
22 state
.innerHTML
= navigator
.onLine
? 'online' : 'offline';
25 <img id=
"red" src=
"html5/red.jpg">
26 <img id=
"blue" src=
"html5/blue.jpg">
27 <img id=
"green" src=
"html5/green.jpg">
28 <img id=
"yellow" src=
"html5/yellow.jpg">