Skip to content
Snippets Groups Projects
Commit 982d3b4a authored by lowercasedonkey's avatar lowercasedonkey
Browse files

experiment

parent 8fad3767
Branches
Tags
1 merge request!3583Tab memory
:: Main [nobr] :: Main [nobr]
<<if ndef $tabChoice>>
<<set $tabChoice = "main">>
<</if>>
<<unset $Flag>> <<unset $Flag>>
<<resetAssignmentFilter>> <<resetAssignmentFilter>>
<<if $releaseID >= 1000 || $ver.includes("0.9") || $ver.includes("0.8") || $ver.includes("0.7") || $ver.includes("0.6")>> <<if $releaseID >= 1000 || $ver.includes("0.9") || $ver.includes("0.8") || $ver.includes("0.7") || $ver.includes("0.6")>>
...@@ -110,17 +112,17 @@ __''MAIN MENU''__&nbsp;&nbsp;&nbsp;&nbsp;//[[Summary Options]]// ...@@ -110,17 +112,17 @@ __''MAIN MENU''__&nbsp;&nbsp;&nbsp;&nbsp;//[[Summary Options]]//
<<if $useSlaveSummaryOverviewTab == 1>> <<if $useSlaveSummaryOverviewTab == 1>>
<button class="tablinks" onclick="opentab(event, 'overview')">Overview</button> <button class="tablinks" onclick="opentab(event, 'overview')">Overview</button>
<</if>> <</if>>
<button class="tablinks" onclick="opentab(event, 'resting')">Resting</button> <button class="tablinks" onclick="opentab(event, 'resting')" id="tab resting">Resting</button>
<button class="tablinks" onclick="opentab(event, 'stay confined')">Confined</button> <button class="tablinks" onclick="opentab(event, 'stay confined')" id="tab stay confined">Confined</button>
<button class="tablinks" onclick="opentab(event, 'take classes')">Students</button> <button class="tablinks" onclick="opentab(event, 'take classes')" id="tab take classes">Students</button>
<button class="tablinks" onclick="opentab(event, 'please you')">Fucktoys</button> <button class="tablinks" onclick="opentab(event, 'please you')" id="tab please you">Fucktoys</button>
<button class="tablinks" onclick="opentab(event, 'whore')">Whores</button> <button class="tablinks" onclick="opentab(event, 'whore')" id="tab whore">Whores</button>
<button class="tablinks" onclick="opentab(event, 'serve the public')">Public Servants</button> <button class="tablinks" onclick="opentab(event, 'serve the public')" id="tab serve the public">Public Servants</button>
<button class="tablinks" onclick="opentab(event, 'be a servant')">Servants</button> <button class="tablinks" onclick="opentab(event, 'be a servant')" id="tab be a servant">Servants</button>
<button class="tablinks" onclick="opentab(event, 'get milked')">Cows</button> <button class="tablinks" onclick="opentab(event, 'get milked')" id="tab milked">Cows</button>
<button class="tablinks" onclick="opentab(event, 'work a glory hole')">Gloryhole</button> <button class="tablinks" onclick="opentab(event, 'work a glory hole')" id="tab work a glory hole">Gloryhole</button>
<button class="tablinks" onclick="opentab(event, 'be a subordinate slave')">Subordinate slaves</button> <button class="tablinks" onclick="opentab(event, 'be a subordinate slave')" id="tab be a subordinate slave">Subordinate slaves</button>
<button class="tablinks" onclick="opentab(event, 'all')" id="defaultButton">All</button> <button class="tablinks" onclick="opentab(event, 'all')" id="tab all">All</button>
</div> </div>
<div id="overview" class="tabcontent"> <div id="overview" class="tabcontent">
...@@ -415,11 +417,12 @@ __''MAIN MENU''__&nbsp;&nbsp;&nbsp;&nbsp;//[[Summary Options]]// ...@@ -415,11 +417,12 @@ __''MAIN MENU''__&nbsp;&nbsp;&nbsp;&nbsp;//[[Summary Options]]//
for (i = 0; i < tablinks.length; i++) { for (i = 0; i < tablinks.length; i++) {
tablinks[i].className = tablinks[i].className.replace(" active", ""); tablinks[i].className = tablinks[i].className.replace(" active", "");
} }
State.variables.tabChoice = tabName;
document.getElementById(tabName).style.display = "block"; document.getElementById(tabName).style.display = "block";
evt.currentTarget.className += " active"; evt.currentTarget.className += " active";
} }
document.getElementById("defaultButton").click(); document.getElementById("tab all").click();
</script> </script>
</body> </body>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment