Files
map/index.frame.html
2019-06-13 11:10:43 +02:00

74 lines
2.0 KiB
HTML

<!DOCTYPE html>
<html>
<head>
<title></title>
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta charset="utf-8">
<link rel="stylesheet" type="text/css" href="style.css">
<style>
body {
margin: 0;
padding: 0;
}
#page {
position: absolute;
left: 0; right: 0; top: 0;
height: 160vh;
text-align: center;
background: gray;
}
#page.touched {
background: #444;
}
#bottompane {
position: absolute;
top: 60vh;
left: 0; right: 0;
height: 100vh;
z-index: 2;
}
#bottompane iframe {
border: none;
width: 100%;
max-width: 800px;
height: 100%;
background: white;
}
#debug {
font-size: 10px;
height: 8em;
overflow: auto;
}
#cats {
display: none;
}
iframe#svg {
}
</style>
</head>
<body>
<div id="page">
<iframe id="svg" src="map.html"></iframe>
<div id="bottompane">
<iframe id="wikiframe" src="/mw"></iframe>
</div>
</div>
<div id="cats" class="expanded">
<div class="ocontents">
<div class="contents">
<div class="head">Liste des catégories</div>
<div class="body"></div>
<div class="foot"><input id="allcats" type="checkbox"><label for="allcats">Afficher tous</label></div>
<hr>
<div class="history"><input id="history" type="checkbox"><label for="history">Histoire</div>
</div>
</div>
<div class="botright"><div class="thumb"></div></div>
</div>
</body>
<script src="custom_scroller_iframe.js"></script>
<script>
custom_scroller_iframe(document.scrollingElement, document.getElementById("wikiframe"));
</script>
</html>