Ayanchromium (Talk | contribs) |
Ayanchromium (Talk | contribs) |
||
Line 2: | Line 2: | ||
<script> | <script> | ||
− | + | function closeTab() { | |
− | + | document.getElementById("person1Tab").style.width = "0"; | |
− | + | document.getElementById("person2Tab").style.width = "0"; | |
− | + | document.getElementById("person3Tab").style.width = "0"; | |
− | + | document.getElementById("person4Tab").style.width = "0"; | |
− | + | document.getElementById("person5Tab").style.width = "0"; | |
+ | document.getElementById("person6Tab").style.width = "0"; | ||
+ | document.getElementById("person7Tab").style.width = "0"; | ||
+ | document.getElementById("person8Tab").style.width = "0"; | ||
+ | document.getElementById("person9Tab").style.width = "0"; | ||
} | } | ||
− | + | function openPerson1() { | |
− | . | + | document.getElementById("person1Tab").style.width = "100%"; |
− | + | ||
} | } | ||
− | . | + | function openPerson2() { |
− | + | document.getElementById("person2Tab").style.width = "100%"; | |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
} | } | ||
− | . | + | function openPerson3() { |
− | + | document.getElementById("person3Tab").style.width = "100%"; | |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
} | } | ||
− | . | + | function openPerson4() { |
− | + | document.getElementById("person4Tab").style.width = "100%"; | |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
} | } | ||
− | + | function openPerson5() { | |
− | + | document.getElementById("person2Tab").style.width = "100%"; | |
− | + | ||
} | } | ||
− | + | function openPerson6() { | |
− | + | document.getElementById("person3Tab").style.width = "100%"; | |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
} | } | ||
− | . | + | function openPerson7() { |
− | + | document.getElementById("person1Tab").style.width = "100%"; | |
− | + | } | |
− | + | function openPerson8() { | |
− | + | document.getElementById("person2Tab").style.width = "100%"; | |
− | + | } | |
+ | function openPerson9() { | ||
+ | document.getElementById("person3Tab").style.width = "100%"; | ||
} | } | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
</script> | </script> | ||
</html> | </html> |
Revision as of 13:05, 8 October 2016