forked from GumusLab/PhosNetVis
-
Notifications
You must be signed in to change notification settings - Fork 0
/
docs.html
66 lines (63 loc) · 1.75 KB
/
docs.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
<!-- <!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Docs</title>
<style type="text/css">
html, body {
height: 100%;
margin: 0;
padding: 0;
overflow: hidden; /* Optional: if you want to remove the scrollbar */
}
iframe {
height: 100%;
width: 100%;
border: none; /* Optional: to remove the border */
}
</style>
</head>
<body>
<iframe src="https://gumuslab.github.io/phosnetvis-docs/docs/tutorials"></iframe>
</body>
</html> -->
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Docs</title>
<style type="text/css">
html, body {
height: 100%;
margin: 0;
padding: 0;
overflow: auto; /* Adjust if you need scrolling */
}
#content {
width: 100%;
height: 100%;
}
</style>
</head>
<body>
<div id="content"></div>
<script type="text/javascript">
fetch('https://gumuslab.github.io/phosnetvis-docs/docs/tutorials')
.then(response => {
if (!response.ok) {
throw new Error('Network response was not ok');
}
return response.text();
})
.then(html => {
document.getElementById('content').innerHTML = html;
})
.catch(error => {
console.error('Fetching content failed:', error);
document.getElementById('content').innerHTML = '<p>Failed to load content.</p>';
});
</script>
</body>
</html>