-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
84 lines (67 loc) · 2.27 KB
/
index.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
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
<html>
<head>
<title>Galactic Globular Cluster Explorer</title>
<script>
window.dataLayer = window.dataLayer || [];
function gtag() { dataLayer.push(arguments); }
gtag('js', new Date());
gtag('config', 'UA-24341067-2');
</script>
<meta charset="UTF-8">
<style>
* {
margin: 0;
font-family: 'Segoe UI', sans-serif;
}
h1,
h2,
h3 {
margin-block-start: 0.5em;
margin-block-end: 0.5em;
margin-inline-start: 0px;
margin-inline-end: 0px;
}
a {
color: #fff;
}
div {
padding-block-end: 0.5em;
padding-inline-start: 1em;
padding-inline-end: 1em;
background-color: rgba(30, 30, 30, 0.3)
}
</style>
<script src="three/three.min.js"></script>
<script src="three/TrackballControls.js"></script>
<link rel="stylesheet" href="https://aladin.u-strasbg.fr/AladinLite/api/v2/latest/aladin.min.css" />
<script type="text/javascript" src="https://code.jquery.com/jquery-1.12.1.min.js" charset="utf-8"></script>
<script type='text/javascript' src='three/tween.js'></script>
<script type='text/javascript' src='three/OrbitControls.js'></script>
</head>
<body>
</div>
<div style="position: absolute; color: rgb(255, 255, 255); bottom: 10px; left: 0px;">
<h1>Search</h1>
<input type="text" placeholder="Name / Catalog Number" id="srchkey">
<button type="button" onclick="searchfunc();" id="srchbtn">Search</button>
<br>
<a href="https://physics.mcmaster.ca/~harris/mwgc.dat" target="_blank">List of all
158 Globular Clusters in the Milky Way</a><br>
<a href="https://physics.mcmaster.ca/~harris/mwgc.dat" target="_blank">Github</a>
</div>
<div style="position: absolute; color: rgb(255, 255, 255); top: 0px; left: 0px;">
<h1 id="objName"></h1>
<p id="objNames" style="margin-bottom: 1em;"></p>
<div id="aladin-lite-div" style="width:300px;height:300px;"></div><br>
<img src="" alt="" id="img">
<p id="distance"></p>
</div>
<!-- <div style="position: absolute; color: rgb(255, 255, 255); bottom: 0px; right: 0px;">
<h3>Distance: <span id="centerdist">200</span> kpc (<span id="centerdistly">652.31</span> thousand light-years)
</h3>
</div> -->
<script src="index.js"></script>
<script type="text/javascript" src="https://aladin.u-strasbg.fr/AladinLite/api/v2/latest/aladin.min.js"
charset="utf-8"></script>
</body>
</html>