No more index page
This commit is contained in:
parent
6e5c82fd37
commit
3be6b228b7
1 changed files with 39 additions and 7 deletions
|
@ -2,13 +2,45 @@
|
|||
title: "Dumping Wii/GameCube games"
|
||||
---
|
||||
|
||||
Want to legally dump a GameCube or a Wii game and play it on your Wii? With this tutorial we will explain how to do it.
|
||||
Want to dump a GameCube or a Wii disk? There are two ways of doing so, depending on the tools you have available with you.
|
||||
|
||||
Please choose how you want to dump the disc.
|
||||
{: .notice--warning}
|
||||
<button class="tablinks btn btn--large btn--primary" id="defaultOpen" onclick="openTab(event, 'cleanrip')">To the SD card/USB drive</button>
|
||||
<button class="tablinks btn btn--large btn--info" onclick="openTab(event, 'network')">To a PC over the network</button>
|
||||
|
||||
[I want to dump it to the SD card/USB device](cleanrip)
|
||||
{: .notice--info}
|
||||
{% capture cleanripInstructions %}
|
||||
### Cleanrip guide
|
||||
{% include_relative cleanrip.md %}
|
||||
{% endcapture %}
|
||||
|
||||
[I want to dump it directly to my PC over a network](dump-smb)
|
||||
{: .notice--info}
|
||||
{% capture networkInstructions %}
|
||||
### Dumping a game over a local network
|
||||
{% include_relative dump-smb.md %}
|
||||
{% endcapture %}
|
||||
|
||||
<div id="cleanrip" class="blanktabcontent">{{ cleanripInstructions | markdownify }}</div>
|
||||
<div id="network" class="blanktabcontent">{{ networkInstructions | markdownify }}</div>
|
||||
|
||||
<script>
|
||||
let tabcontent = document.getElementsByClassName("blanktabcontent");
|
||||
let tablinks = document.getElementsByClassName("tablinks");
|
||||
|
||||
function openTab(evt, tabName) {
|
||||
let element;
|
||||
|
||||
for (element of tabcontent) {
|
||||
element.style.display = "none";
|
||||
}
|
||||
|
||||
for (element of tablinks) {
|
||||
element.className = element.className.replace("btn--primary", "btn--info");
|
||||
if (!element.className.includes('btn--info'))
|
||||
element.className += " btn--info";
|
||||
}
|
||||
|
||||
document.getElementById(tabName).style.display = "block";
|
||||
evt.currentTarget.className = evt.currentTarget.className.replace("btn--info", "btn--primary");
|
||||
}
|
||||
|
||||
// Get the element with id="defaultOpen" and click on it
|
||||
document.getElementById("defaultOpen").click();
|
||||
</script>
|
||||
|
|
Loading…
Reference in a new issue