forked from Flowm/satvis
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathembedded.html
More file actions
64 lines (64 loc) · 1.81 KB
/
embedded.html
File metadata and controls
64 lines (64 loc) · 1.81 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
57
58
59
60
61
62
63
64
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Satvis Embedded Example</title>
<style>
body {
width: 100%;
height: 100%;
margin: 0;
padding: 0;
background: black url("data/images/bg.jpg") top center / cover no-repeat;
color: white;
}
#title {
text-align: center;
color: white;
}
</style>
</head>
<body>
<div id="title">
<h1>Satvis Embedded Example</h1>
</div>
<div id="satvis-content">
<style>
#satvis-content {
display: block;
margin: auto;
text-align: center;
width: 80%;
}
#satvis-button {
background-color: #555555;
border: none;
border-radius: 5px;
color: white;
padding: 14px 32px;
margin-bottom: 8px;
font-size: 16px;
cursor: pointer;
}
#satvis-frame {
display: none;
margin: auto;
width: 100%;
max-width: 800px;
height: 500px;
border: none;
border-radius: 5px;
}
</style>
<button id="satvis-button" onclick='let frame = document.getElementById("satvis-frame"); frame.src="move.html?elements=Point,Label,Orbit&layers=OfflineHighres&gs=48.1770,11.7476&tags=MOVE&sat=MOVE-II"; frame.style.display = "block";'>
Current satellite position
</button>
<button id="satvis-button" onclick='let frame = document.getElementById("satvis-frame"); frame.src="ot.html?bg=false"; frame.style.display = "block";'>
Transparent background
</button>
<iframe id="satvis-frame" allowtransparency="true"></iframe>
<br />
Simple example to embed the sativs site on other pages.
</div>
</body>
</html>