|
|
@ -107,8 +107,6 @@ https://pad.xpub.nl/p/HTML_Finale
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<br>
|
|
|
|
<br>
|
|
|
|
|
|
|
|
|
|
|
|
<!--alphabet img-->
|
|
|
|
|
|
|
|
<img src="img/alphabet_black.png" alt="alphabet">
|
|
|
|
|
|
|
|
<div class="bulletpoints" >
|
|
|
|
<div class="bulletpoints" >
|
|
|
|
<ul>
|
|
|
|
<ul>
|
|
|
|
<li>The origin of "archive" is complex, and its meaning has constantly been evolving since it first arose.</li>
|
|
|
|
<li>The origin of "archive" is complex, and its meaning has constantly been evolving since it first arose.</li>
|
|
|
@ -150,6 +148,8 @@ https://pad.xpub.nl/p/HTML_Finale
|
|
|
|
</ul>
|
|
|
|
</ul>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<br>
|
|
|
|
<br>
|
|
|
|
|
|
|
|
<!--alphabet img-->
|
|
|
|
|
|
|
|
<img src="img/alphabet_black.png" alt="alphabet">
|
|
|
|
|
|
|
|
|
|
|
|
<div class="glossary" >
|
|
|
|
<div class="glossary" >
|
|
|
|
Arkeion:
|
|
|
|
Arkeion:
|
|
|
@ -2978,8 +2978,9 @@ popup_button.addEventListener("click", function (e) {
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
async function buildTOC() {
|
|
|
|
async function buildTOC() {
|
|
|
|
|
|
|
|
try {
|
|
|
|
class handlers extends window.Paged.Handler {
|
|
|
|
console.log("toc");
|
|
|
|
|
|
|
|
class handlers extends window.Paged.Handler {
|
|
|
|
constructor(chunker, polisher, caller) {
|
|
|
|
constructor(chunker, polisher, caller) {
|
|
|
|
super(chunker, polisher, caller);
|
|
|
|
super(chunker, polisher, caller);
|
|
|
|
}
|
|
|
|
}
|
|
|
@ -2994,17 +2995,35 @@ popup_button.addEventListener("click", function (e) {
|
|
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
}
|
|
|
|
window.Paged.registerHandlers(handlers);
|
|
|
|
window.Paged.registerHandlers(handlers);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
catch(err) {
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
/* If you want to put a loading content, it's here. It will show the print prompt when it's done loading */
|
|
|
|
/* If you want to put a loading content, it's here. It will show the print prompt when it's done loading */
|
|
|
|
async function preview() {
|
|
|
|
async function preview() {
|
|
|
|
await window.PagedPolyfill.preview();
|
|
|
|
try {
|
|
|
|
window.print();
|
|
|
|
console.log("preview");
|
|
|
|
|
|
|
|
await window.PagedPolyfill.preview();
|
|
|
|
|
|
|
|
window.print();
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
catch(err) {
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
async function load_pagedjs() {
|
|
|
|
|
|
|
|
await $.getScript("https://unpkg.com/pagedjs/dist/paged.polyfill.js", function(data, textStatus, jqxhr) {});
|
|
|
|
|
|
|
|
preview();
|
|
|
|
|
|
|
|
buildTOC();
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
var printbutton = document.getElementById("printbutton");
|
|
|
|
var printbutton = document.getElementById("printbutton");
|
|
|
|
|
|
|
|
|
|
|
|
printbutton.onclick = function(){
|
|
|
|
printbutton.onclick = function(){
|
|
|
|
|
|
|
|
console.log("bla");
|
|
|
|
var boxes = document.getElementsByName("print");
|
|
|
|
var boxes = document.getElementsByName("print");
|
|
|
|
for (var i=0; i<boxes.length; i++) {
|
|
|
|
for (var i=0; i<boxes.length; i++) {
|
|
|
|
if (boxes[i].checked) {
|
|
|
|
if (boxes[i].checked) {
|
|
|
@ -3022,9 +3041,10 @@ popup_button.addEventListener("click", function (e) {
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
document.getElementsByTagName("body")[0].classList.add("pagedjs");
|
|
|
|
document.getElementsByTagName("body")[0].classList.add("pagedjs");
|
|
|
|
$.getScript("https://unpkg.com/pagedjs/dist/paged.polyfill.js", function(data, textStatus, jqxhr) {});
|
|
|
|
|
|
|
|
buildTOC();
|
|
|
|
load_pagedjs();
|
|
|
|
preview();
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|