39 lines
905 B
HTML
39 lines
905 B
HTML
<!DOCTYPE html>
|
|
<html>
|
|
|
|
<head>
|
|
<meta charset="utf-8">
|
|
<title>
|
|
|
|
</title>
|
|
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.4.1/jquery.min.js"></script>
|
|
<link rel="stylesheet" href="style.css">
|
|
|
|
</head>
|
|
|
|
<body>
|
|
<div class="workshoptext scroll" >
|
|
<div id="workshopA_img">
|
|
</div>
|
|
<div id="workshopA">
|
|
</div>
|
|
</div>
|
|
|
|
<script>
|
|
function httpGet(theUrl) {
|
|
var xmlHttp = new XMLHttpRequest();
|
|
xmlHttp.open("GET", theUrl, false); // false for synchronous request
|
|
xmlHttp.send(null);
|
|
return xmlHttp.responseText;
|
|
}
|
|
|
|
var workshopA = httpGet('https://pad.xpub.nl/p/wordmord.workshop_A.public/export/html');
|
|
document.getElementById("workshopA").innerHTML = workshopA;
|
|
|
|
var workshopA_img = httpGet('https://pad.xpub.nl/p/wordmord.workshop_A.public.img/export/txt');
|
|
document.getElementById("workshopA_img").innerHTML = workshopA_img;
|
|
</script>
|
|
</body>
|
|
|
|
</html>
|