-
Notifications
You must be signed in to change notification settings - Fork 61
/
critical.html
38 lines (29 loc) · 1.06 KB
/
critical.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
<html>
<head>
<meta charset="utf-8">
<link rel="stylesheet" href="build/lbp-critical.css" media="screen" charset="utf-8">
</head>
<body>
<div id="TEI">
Sadly, this page will not work in Internet Explorer and some older browsers. We suggest you use a newer version of Chrome or Firefox.
</div>
<div class="info-wrapper">
<div class="info"></div>
</div>
<script src="build/CETEI.js"></script>
<script>
var CETEIcean = new CETEI();
CETEIcean.getHTML5('xml/lbp-1.0.0-critical-edition.xml', function(data) {
document.getElementById("TEI").innerHTML = "";
document.getElementById("TEI").appendChild(data);
CETEIcean.addStyle(document, data);
});
// Alternatively, use then()
// (new CETEI).getHTML5('testTEI.xml').then(function(data){
// document.getElementById("TEI").appendChild(data);
// });
</script>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.2.1/jquery.min.js"></script>
<script src="build/lbp-critical.js"></script>
</body>
</html>