forked from Tevemadar/meshview-demo
-
Notifications
You must be signed in to change notification settings - Fork 2
/
index.html
44 lines (44 loc) · 1.9 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
<!DOCTYPE html>
<html>
<head>
<title>MeshView for Brain Atlases v0.8h</title>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width">
<link href="style.css" rel="stylesheet">
<script src="mesh.js"></script>
<script src="points.js"></script>
<script src="shaders.js"></script>
<script src="matrix.js"></script>
<script src="main.js"></script>
<script>
if(location.search.indexOf("mode=pointblock")!==-1)
location.href="https://www.nesys.uio.no/MeshView/meshviewy.html"+location.search
.replace("ABA_Mouse_CCFv3_2015_25um","ABA_mouse_v3")
.replace("ABA_Mouse_CCFv3_2017_25um","ABA_mouse_v3_2017_full")
.replace("WHS_SD_Rat_v2_39um","WHS_SD_rat_atlas_v2")
.replace("WHS_SD_Rat_v3_39um","WHS_SD_rat_atlas_v3")
.replace("WHS_SD_Rat_v4_39um","WHS_SD_rat_atlas_v4");
async function startup(){
document.body.innerHTML=await fetch("body.html").then(response=>response.text());
startmv();
}
</script>
<!-- Matomo -->
<script>
var _paq = window._paq = window._paq || [];
/* tracker methods like "setCustomDimension" should be called before "trackPageView" */
_paq.push(['trackPageView']);
_paq.push(['enableLinkTracking']);
(function() {
var u="//stats.humanbrainproject.eu/";
_paq.push(['setTrackerUrl', u+'matomo.php']);
_paq.push(['setSiteId', '33']);
var d=document, g=d.createElement('script'), s=d.getElementsByTagName('script')[0];
g.async=true; g.src=u+'matomo.js'; s.parentNode.insertBefore(g,s);
})();
</script>
<!-- End Matomo Code -->
</head>
<body onload="startup()">
</body>
</html>