-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
28 lines (25 loc) · 784 Bytes
/
index.html
File metadata and controls
28 lines (25 loc) · 784 Bytes
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
<!DOCTYPE html>
<html>
<head>
<title>NETG Constitution</title>
</head>
<body>
<xmp id="content" theme="united" style="display:none;"></xmp>
<script type="text/javascript">
var con = document.getElementById('content')
var script = document.createElement('script')
var head = document.getElementsByTagName('head')[0]
script.src = "strapdown.js";
var xhr = new XMLHttpRequest();
xhr.onreadystatechange = function (e) {
if (xhr.readyState == 4 && xhr.status == 200) {
con.innerHTML = xhr.responseText;
head.appendChild(script);
}
}
xhr.open("GET", "README.md", true);
xhr.setRequestHeader('Content-type', 'text/plain');
xhr.send();
</script>
</body>
</html>