-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathindex.html
32 lines (29 loc) · 1.14 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
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<script src="https://nguyenlab.github.io/js/jquery.js"></script>
<script type="text/javascript">
$(document).ready(function (e) {
function loadPage(href)
{
var xmlhttp = new XMLHttpRequest();
xmlhttp.open("GET", href, false);
xmlhttp.send();
return xmlhttp.responseText;
}
$("head").load('https://nguyenlab.github.io/template/head.html', function () {
//alert('loaded head')
});
$("body").load('https://nguyenlab.github.io/template/body.html', function () {
data = loadPage('https://nguyenlab.github.io/md/news.md');
document.getElementById('markdown-text').innerHTML = data;
$.getScript("https://nguyenlab.github.io/js/tagdown.min.js");
});
});
</script>
</head>
<body>
</body>
</html>