forked from GustavLindberg99/NuclideChart
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex-z2.html
111 lines (102 loc) · 3.81 KB
/
index-z2.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
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
<html>
<head>
<title>Nuclide Chart</title>
<!--<style>
#Container {
width: 100%;
height: 100%;
background: none;
}
</style>-->
<!--<script type="text/javascript" src="https://mapcollector.eu5.org/scripts/javascriptextras.js"></script>-->
<!--<script type="text/javascript" src="https://mapcollector.eu5.org/scripts/scroll.js"></script>-->
<script type="text/javascript" src="chart.js"></script>
<link rel="stylesheet" type="text/css" href="style.css"/>
<link rel="stylesheet" type="text/css" href="chartstyle.css"/>
<!-- CSS only -->
<link
href="https://cdn.jsdelivr.net/npm/[email protected]/dist/css/bootstrap.min.css"
rel="stylesheet"
integrity="sha384-1BmE4kWBq78iYhFldvKuhfTAU6auU8tT94WrHftjDbrCEXSU1oBoqyl2QvZ6jIW3"
crossorigin="anonymous"
/>
<link
rel="stylesheet"
href="https://pro.fontawesome.com/releases/v5.10.0/css/all.css"
integrity="sha384-AYmEC3Yw5cVb3ZcuHtOA93w35dYTsvhLPVnYs9eStHfGJvOvKxVfELGroGkvsg+p"
crossorigin="anonymous"
/>
<style>
.zoom-tool-bar {
position: fixed;
bottom: 0;
right: 0;
width: 100%;
height: 31px;
padding: 3px 0;
background: rgba(49, 65, 82, 0.7);
font-size: 13px;
z-index: 9999;
color: #fff;
}
.zoom-tool-bar i {
color: #77b3ff;
font-size: 16px;
}
</style>
</head>
<body>
<div id="topbar">
<a id="downloadChart" disabled download>
<img class="inline" src="svg.svg" alt=""/>
Download Chart (SVG)
</a>
<a href="data.csv" download>
<img class="inline" src="csv.svg" alt=""/>
Download Data (CSV)
</a>
<!-- <button id="zoomOut" title="Zoom out">-</button>
<input type="range" id="zoomInput" min="0" max="100" value="100" title="Zoom"/>
<button id="zoomIn" title="Zoom in">+</button>-->
<button onclick="alert('Nuclide Chart\nCopyright \u00A9 2020 Gustav Lindberg\nSource code: https://github.com/GustavLindberg99/NuclideChart\n\nThe chart is licensed under the MIT license. The data is from https://www.nndc.bnl.gov/.\n\nIcons made by Smashicons and Icomoon from www.flaticon.com are licensed by CC 3.0 BY. Some of the icons have been modified.')">About this chart</button>
</div>
<div class="zoom-tool-bar"></div>
<script
src="https://code.jquery.com/jquery-3.6.0.min.js"
integrity="sha256-/xUj+3OJU5yExlq6GSYGSHk7tPXikynS7ogEvDej/m4="
crossorigin="anonymous"
></script>
</div>
<div id="content">
<div id="container" style="display:none" data-zoomable>
</div>
<div id="loading">
<img src="blogo.png" width="64" height="64" alt="Loading..."/>
<p>Loading...</p>
</div>
<div id="legend">
<h2>Decay Modes</h2>
<p><span class="box stable"></span> Stable</p>
<p><span class="box a"></span> α</p>
<p><span class="box bminus"></span> β-</p>
<p><span class="box doublebminus"></span> Double β-</p>
<p><span class="box n"></span> Neutron emission</p>
<p><span class="box bplus"></span> β+ or electron capture</p>
<p><span class="box doublebplus"></span> Double β+ or double electron capture</p>
<p><span class="box ec"></span> Electron capture only</p>
<p><span class="box p"></span> Proton emission</p>
<p><span class="box sf"></span> Spontaneous fission</p>
</div>
<script src="./src/content-zoom-slider.min.js"></script>
<script>
$(function () {
$("#content").contentZoomSlider({
toolContainer: ".zoom-tool-bar",
step: 20,
zoom: 100,
max:120
});
});
</script>
</body>
</html>