forked from geoffmcl/map-test2
-
Notifications
You must be signed in to change notification settings - Fork 0
/
testjs2.html
49 lines (44 loc) · 1.08 KB
/
testjs2.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
35
36
37
38
39
40
41
42
43
44
45
46
47
48
<html>
<head>
<title>Test javescript 2</title>
<style>
body { margin: 30px; }
</style>
<link rel="stylesheet" href="css/testcss.css" />
<script src="js/OpenLayers-2.14-dev.js"
type="text/javascript">
</script>
<script src="js/OpenStreetMap.js"
type="text/javascript">
</script>
<script src='js/three.min.js'
type="text/javascript">
</script>
<script src="js/jquery-2.0.3.js"
type="text/javascript">
</script>
<script src="js/geodesic.js"
type="text/javascript">
</script>
<script type="text/javascript">
var startTime = new Date();
function centAir(val) {
var msg;
if (val)
msg = "Input clicked, and is checked";
else
msg = "Input clicked, and is off";
$("#info").html(msg);
}
</script>
</head>
<body>
<p>Just some javescript testing input...</p>
<div id="centreAir"><p><input type="checkbox" onclick="centAir(this.checked);" checked>Center Aircraft</p></div>
<div id="info"> </div>
<script type="text/javascript"
defer="defer">
//init();
</script>
</body>
</html>