Repository navigation
Expand file tree
/
Copy pathtest.html
More file actions
executable file
·56 lines (55 loc) · 1.47 KB
/
Copy pathtest.html
File metadata and controls
executable file
·56 lines (55 loc) · 1.47 KB
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
49
50
51
52
53
54
55
56
<html>
<head>
<title>R-Tree demo<title>
<script src="vendor/prototype/prototype.js" type="text/javascript" charset="utf-8"></script>
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.3.2/jquery.js"></script>
<script type="text/javascript" charset="utf-8">
jQuery.noConflict();
</script>
<script src="app.js"></script>
<script src="rtree.js" type="text/javascript" charset="utf-8"></script>
<style>
html,body{
margin:0;
padding:0;
font-family: sans-serif;
font-size: 10px;
}
#canvas{
padding: 20px;
}
#config-panel{
position: absolute;
width: 200px;
height: 360px;
top: 20px;
left: 640px;
border: 1px solid gray;
padding: 20px;
}
#config-panel #num-of-objects{
width: 40px;
}
#config-panel input{
margin-bottom: 10px;
}
#coord-panel{
margin-top: 20px;
}
</style>
</head>
<body>
<canvas id="canvas" width="600" height="400">
Canvas is not supported in this browser...
</canvas>
<div id="config-panel">
<h3>Click on the rectangles!</h3>
<div>
<label for="num-of-objects">Number of objects:</label>
<input type="text" name="num-of-objects" id="num-of-objects" />
</div>
<button id="re-init">Re-Init</button>
<div id="coord-panel"></div>
</div>
</body>
</html>