updated index

This commit is contained in:
Michael Murtaugh
2019-06-09 16:10:39 +02:00
parent 5a4e35d4bc
commit 7f8efb6580

View File

@@ -5,21 +5,66 @@
<meta charset="utf-8">
<link rel="stylesheet" type="text/css" href="style.css">
<style>
#wiki {
left: 70%;
body {
overflow: hidden;
background: pink;
}
#map {
position: absolute;
left: 0; top: 0;
right: 0;
height: 160vh;
z-index: 0;
background: gray;
overflow: hidden;
}
#map #radio {
position: absolute;
left: 10px;
bottom: 10px;
width: 360px;
height: 60px;
}
#map a {
position: relative;
left: 200px;
top: 200px;
}
#pagediv {
position: absolute;
left: 0; top: 0;
bottom: 0; right: 0;
z-index: 0;
overflow: auto;
}
#page {
position: absolute;
left: 80px; right: 80px;
top: 60vh;
height: 100vh;
}
#page iframe {
width: 100%;
height: 100%;
border: none;
overflow: hidden;
}
#cats {
display: none;
}
</style>
</head>
<body>
<div id="controls">
<a href="http://localhost/mw/api.php" id="mediawikiapi"></a><input id="startpage" value="Bienvenue à lerg" autofocus /><button id="button">ok</button>
</div>
<div id="content">
<svg id="svg" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"></svg>
</div>
<div id="wiki">
<iframe src="http://localhost/mw/"></iframe>
<div id="pagediv">
<div id="map">
<svg id="svg" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"></svg>
<!-- <div id="radio"><iframe width="100%" height="60" src="https://www.mixcloud.com/widget/iframe/?hide_cover=1&mini=1&feed=%2FErgote_Radio%2Fmagma-reclaim-the-climax-publication-exposition-documentation%2F" frameborder="0" ></iframe></div>
-->
</div>
<div id="page">
<iframe id="wikiframe" src="/mw"></iframe>
</div>
</div>
<div id="cats" class="expanded">
<div class="ocontents">
@@ -36,11 +81,8 @@
</body>
<script type="text/javascript" src="dist/wikimaptotal.js"></script>
<script>
var mediawikiapi = document.querySelector("#mediawikiapi").href,
startpage = document.querySelector("#startpage"),
button = document.querySelector("#button"),
svg = document.querySelector("#svg"),
iframe = document.querySelector("iframe"),
var svg = document.querySelector("#svg"),
iframe = document.querySelector("iframe#wikiframe"),
cats = document.querySelector("#cats"),
cats_contents = document.querySelector("#cats .body"),
cats_thumb = document.querySelector("#cats .thumb"),