ShadowRanger (talk | contribs) (Created page with "<html> <style> #tabButtons { position: fixed; top: 50%; transform: translateY(-50%); right: 20px; z-index: 1000; →Ensure buttons are above other content: } #nextTabButton, #previousTabButton { display: block; margin-bottom: 10px; } </style> <script> // Function to switch to the previous tab function switchToPreviousTab() { var activeTab = document.querySelector(".frmTab.active"); var previousTab; // Find the previous tab...") |
ShadowRanger (talk | contribs) No edit summary |
||
(21 intermediate revisions by the same user not shown) | |||
Line 2: | Line 2: | ||
<style> | <style> | ||
#tabButtons { | #tabButtons { | ||
display:flex; | |||
} | } | ||
#nextTabButton, | #nextTabButton, | ||
#previousTabButton { | #previousTabButton { | ||
display: | background:#131313; | ||
color: white; | |||
border:10px solid #131313; | |||
border-radius:5px; | |||
display: flex; | |||
margin-bottom: 10px; | margin-bottom: 10px; | ||
margin-top: 10px; | |||
} | } | ||
#previousTabButton { | |||
float:left; | |||
} | } | ||
#nextTabButton { | |||
float:right;} | |||
.spacer { | |||
flex-grow: 1; /* Allow spacer to fill remaining space */ | |||
} | |||
</style> | |||
<hr/> | |||
<div id="tabButtons"> | <div id="tabButtons"> | ||
<!-- Next Tab Button --> | <!-- Next Tab Button --> | ||
<button id="nextTabButton" onclick=" | </html>{{#if:{{{1}}}|<html> | ||
<button id="nextTabButton" onclick="openTab(event, '</html>{{{1}}}<html>')"></html>{{{2}}}<html></button></html>|}}<html> | |||
<div class="spacer"></div><html> | |||
<button id="nextTabButton" onclick="openTab(event, '</html>frmTabIndex<html>')"></html>Main Index<html></button><div class="spacer"></div> | |||
<!-- Previous Tab Button --> | <!-- Previous Tab Button --> | ||
<button id="previousTabButton" onclick=" | </html>{{#if:{{{3}}}|<html> | ||
<button id="previousTabButton" onclick="openTab(event, '</html>{{{3}}}<html>')"></html>{{{4}}}<html></button></html>|}}<html> | |||
</div> | </div> | ||
</html> | </html> |
Latest revision as of 14:35, 27 April 2024