2017-12-11 05:21:46 +00:00
|
|
|
<script type="text/javascript">
|
|
|
|
contentsToggle = function() {
|
|
|
|
var b = document.getElementById("toggle-button")
|
|
|
|
var i = document.getElementById("index-order");
|
|
|
|
var t = document.getElementById("turn-order");
|
|
|
|
if (t.style.display == "none") {
|
|
|
|
i.style.display = "none"
|
|
|
|
t.style.display = "block"
|
|
|
|
b.innerText = "Switch to index order"
|
|
|
|
} else {
|
|
|
|
i.style.display = "block"
|
|
|
|
t.style.display = "none"
|
2017-12-11 07:04:43 +00:00
|
|
|
b.innerText = "Switch to turn order"
|
2017-12-11 05:21:46 +00:00
|
|
|
}
|
|
|
|
}
|
2018-05-29 06:33:46 +00:00
|
|
|
window.onload = function(){
|
|
|
|
if (location.search.search("byturn") > 0)
|
|
|
|
contentsToggle();
|
|
|
|
}
|
2017-12-11 05:21:46 +00:00
|
|
|
</script>
|
|
|
|
<button id="toggle-button" onClick="javascript:contentsToggle()">Switch to turn order</button>
|